I'm working on an 8th grade math book and came across this problem:
In a class, the average marks of the boys and girls are 520 and 420 respectively. And the average marks per student is 500. What is the percentage of boys in the class?
This seemed to be very simple for me but I tried:
Let the number of boys and girls be b and g. $- (520b + 420g)/(b + g) = 500$, then I could not frame the next equation.
I also tried:
Let the total number of students be x and the number of boys be b. $- (520b + 420(x - b))/(x) = 500$;
but could not come to a conclusion.