You can write all values in row:
0, 0, 2, 2, 3, 4, 6, 7, 7, 8.
1. The mean is
[tex]\dfrac{0+0+2+2+3+4+6+7+7+8}{10}=\dfrac{39}{10}=3.9.[/tex]
2. The row contains 10 elements, so if you want to find the median, you should divide it into two equal parts 0, 0, 2, 2, 3 and 4, 6, 7, 7, 8 and take the last term from the first part and the first term from the second part. These are numbers 3 and 4. then the median is
[tex] \dfrac{3+4}{2} =3.5. [/tex]
3. The mean=3.9 and the median=3.5. Since 3.5<3.9, the mean number of red cubes is more than the median number of red cubes.
Answer: correct choice is B.