Given the formula

This is the formula to obtain the volume of a square pyramid, not a square prism; we will solve the question using the formula above, nonetheless.
Solve for h as shown below

The answer is h=3V/s^2.
Set V=60cm^3, and s=6cm; then,
![\begin{gathered} V=60\operatorname{cm}3,s=6\operatorname{cm} \\ \Rightarrow h=\frac{3(60cm^3)}{(6\operatorname{cm})^2}=\frac{180\operatorname{cm}3}{36\operatorname{cm}2}=5\operatorname{cm} \\ \Rightarrow h=5\operatorname{cm} \end{gathered}]()
Therefore, the answer is h=5cm.