The water from a hydrated magnesium salt is driven off by heat in a closed system. If the steam generated exerts a pressure of 24.8 atm in a 2L container 120 degrees C, determine the number of moles of H2O driven from the compound.

PV = nRT