In air , a metallic sphere with an internal cavity weighs 40g and in water weighs 20g . the volume of the cavity if the density of material with cavity is 8g/cm^3