Need help with this geometry question asap!

Answer:
Height = 18 units
Step-by-step explanation:
Given :
Volume= 162pi, radius= 3 units
We know,
Volume of Cylinder= Pi * (radius)^2*h
now you can substitute, (P.S: dont put the value of pi as it will get cancelled)
162 pi = pi* (3)^2* h
162= 9h
∴h= 162/9= 18
∴ height is 18 units.
Hope it helps. But I am not sure if the answer is correct or not.
Answer:
[tex]v = \pi \: {r}^{2} h \\ where \: v = 162\pi \: \\ r = 3 \\ h = \frac{v}{ {r}^{2} } \\ h = \frac{162}{9} \\ h = 18 units[/tex]