Option (D) is correct.
Explanation:
For a pyramidal shape, V=31×area of base×height:
V=31×(9×9)×9=31×729=243 cm3
In the box the sand forms a cuboid on the base 9×9=81 cm², so its height is
81243=3 cm
Another way to see it: the pyramid and the cube have the same base and the same height, so the pyramid holds one-third of the cube, and the sand fills one-third of the 9 cm height.
Why the other options are wrong
- (A) 9 cm treats the pyramid as holding as much as the cube (729 cm³); the 31 in the formula is forgotten.
- (B) 4.5 cm takes the pyramid as half of the cube (364.5 cm³), but the factor is 31, not 21.
- (C) 6 cm takes the pyramid as 32 of the cube (486 cm³). That is the space the pyramid does not fill.