A certain block weighs 22 N in air. It weighs 17 N when immersed in water. When immersed in another liquid it weighs 18 N. Find the volume of the block.