Answer:
There are 36 boys in the class.
Explanation:
This question is solved by a system of equations.
I am going to say that:
x is the number of boys
y is the number of girls.
There are 42 pupils in a class.
This means that
.
Since we want x, we have that
12 of them are Malays while the rest are Chinese. 1/4 of the boys and 1/2 of the girls are Malay.
This means that:
Since
Multiplying everything by 4.
There are 36 boys in the class.