A cylinder is within the cube touching all the vertical faces. A cone is inside the cylinder. If their heights are same with the same base, find the ratio of their volumes.