Calcualate 40% (0.40) times 20 to get that there are 8 boys in the class. The rest must be girls, so 20 - 8 gives you 12 girls. 25% (0.25) times the 8 boys gives you that 2 of the boys wear glasses. 50% (0.5) times the 12 girls tives you that 6 girls wear glasses. Add together the 2 boys and the 6 girls that wear glasses to get that a total of 8 students wear glasses.

To solve for x, we have to remember to isolate the variable.

For 1/2, we can make that 0.5, since their values are equivalent. Our equation:

Let's distribute the 0.5 first.


Now, let's simplify the right side of the equation. We have to distribute the negative to 3x and 1.

Then, we simplify the entire expression.


Our equation now:

Let's add 3x to the right and 3x to the left to simplify the -3x on the right side of the equation.


Let's do the same thing we did in Step 3 to 1.5. Subtract 1.5 on both sides of the equation.


Finally, we divide both sides by 6 to isolate x.


Here is all you need for b)