The rotation of a right triangle about an axis generates a cone.
In this case, the radius of the cone will be placed along the y-axis, then its radius will be 2 units, and the height of the cone will be placed along the x-axis, therefore, its height will be 5 units