A solid pyramid of height 40 cm with a square base of sides 30 cm each is put into a tank of sides 40 cm each. the tank is then filled with water. if the pyramid is removed, find the depth of water in the tank.