[tex]\bf \textit{volume of a cylinder}\\\\
V=\pi r^2h~~
\begin{cases}
r=x\\
h=y
\end{cases}\implies V=x^2y\pi
\\\\\\
\textit{volume of a cone}\\\\
V=\cfrac{\pi r^2h}{3}\qquad r=2x\implies V=\cfrac{\pi (2x)^2 h }{3}
\\\\\\
\textit{and since both volumes are equal, then}
\\\\\\
\stackrel{cylinder's}{x^2y\pi }~~~~=~~~~\stackrel{cone's}{\cfrac{\pi (2x)^2h}{3}}[/tex]