Two identical cones are joined as shown in the figure. If radius of base is 4 cm and slant height of the cone is 6 cm, then height of the solid is