The volume of a cylinder is given by

Whereas the volume of a cone is given by

Since the cylinder has radius x and height y, its volume is

And since the cone has a radius 2x, its volume is

where h is the height of the cone.
We know that the two volumes are the same, so we can build the equation and solve it for h:

Simplify
from both sides:

Divide both sides by 4:
