To find height $ h $ use formula:
$$ V = \dfrac{ a ^{ 2 } \cdot h }{ 3 } $$After substituting $ V = 178 $ and $ a = 8 $ we have:
$$ 178 = \dfrac{ 8 ^{ 2 } \cdot h }{ 3 } $$$$ 178 \cdot 3 = 8 ^{ 2 } \cdot h $$$$ 534 = 64 \cdot h $$$$ h = \dfrac{ 534 }{ 64 } $$$$ h = \frac{ 267 }{ 32 } $$