If one side of a cube has length s, its volume is .

If a cylinder has height h and base radius r, its volume is .

If a cone has height h and base radius r, its volume is .

Since the cylinder just fits inside the cube, h= s and r= (1/2)s.

Since the cone just fits inside the cylinder, it also has h= s and r= (1/2)s.