A survey of 950 college students found that 85% of the men and 90% of the women identified math as their favorite subject. If altogether 834 students reported math to be their favorite subject how many men and women participated in the survey

Let m be the number of men and w be the number of women. We are given 2 equations