It’s d times it three times length width height
Let
be the 20 marks of the boys, and
be the 10 marks of the girls.
We know that the global mean was 70, meaning that

Multiplying both sides by 30 we deduce that the sum of the scores of the whole classroom is

By the same logic, we work with the marks of the boys alone: we know the average:

And we deduce the sum of the marks for the boys:

Which implies that the sum of the marks of the girls is 
And finally, the mean for the girls alone is

25 percent of people had pasta.
First add 450 and 150 (which equals 600)
Next divide 600 by 150 (which equals 4)
Which means 150 is a fourth of six hundred, and a fourth is 25 percent.
Which leads to my answer of 25 percent