To find volume $ V $ use formula:
$$ V = \dfrac{ a ^{ 2 } \cdot h }{ 3 } $$After substituting $a = 5\, \text{cm}$ and $h = 6\, \text{cm}$ we have:
$$ V = \dfrac{ 25\, \text{cm}^2 \cdot 6\, \text{cm} }{ 3 }$$$$ V = \dfrac{ 150\, \text{cm}^3 }{ 3 } $$$$ V = 50\, \text{cm}^3 $$