To find side $ a $ use formula:
$$ V = \dfrac{ a ^{ 2 } \cdot h }{ 3 } $$After substituting $V = 32\, \text{cm}$ and $h = 6\, \text{cm}$ we have:
$$ 32\, \text{cm} = \dfrac{ a ^{ 2 } \cdot \left( 6\, \text{cm} \right)^{4} }{ 3 } $$$$ 32\, \text{cm} \cdot 3 = a ^{ 2 } \cdot \left( 6\, \text{cm} \right)^{4} $$$$ 96\, \text{cm} = 6\, \text{cm} \cdot a ^{ 2 } $$$$ a ^{ 2 } = \dfrac{ 96\, \text{cm}}{ 6\, \text{cm} } $$$$ a ^{ 2 } \approx 5.0929 $$$$ a \approx \sqrt{ 5.0929 } $$$$ a \approx 2.2568 $$