Answer:
150 black cubes
60 yellow cubes
40 white cubes
Explanation:
In this case we must make a rule of three with each type of cube. In the sample it would be a total of:
15 + 6 + 4 = 25
Which means that in our sample there are 25 and in total there are 250.
Therefore, in the case of black cubes, if there are 15 out of 25 in the sample, how many would there be if there were 250:
15 * 250/25 = 150
In other words, there would be 150 black cubes.
Similarly for yellows, it would be:
6 * 250/25 = 60
I mean there would be 60 yellow cubes
And in the case of whites, it would be:
4 * 250/25 = 40
So it would be 40 white cubes