Epsom salts, a strong laxative used in veterinary medicine, is a hydrate, which means that a certain number of water molecules are included in the solid structure. The formula for Epsom salts can be written as MgSO4 · x H2O, where x indicates the number of moles of H2O per mole of MgSO4. When 3.484 g of this hydrate is heated to 250°C, all the water of hydration is lost, leaving 1.701 g of MgSO4. What is the value of x?