To find height $ h $ use formula:
$$ V = \dfrac{ a ^{ 2 } \cdot h }{ 3 } $$After substituting $V = 196\, \text{cm}$ and $a = 7\, \text{cm}$ we have:
$$ 196\, \text{cm} = \dfrac{ 7\, \text{cm} ^{ 2 } \cdot h }{ 3 } $$$$ 196\, \text{cm} \cdot 3 = 7\, \text{cm} ^{ 2 } \cdot h $$$$ 588\, \text{cm} = 49\, \text{cm}^2 \cdot h $$$$ h = \dfrac{ 588\, \text{cm} }{ 49\, \text{cm}^2 } $$$$ h = 12\, \text{cm}^-1 $$