
Answer:
The answer to your question is  MgSO₄ 5H₂O
Explanation:
Data
mass of MgSOâ‚„ = 2.86 g
mass of Hâ‚‚O = 2.14 g (5 - 2.86)
Process
1.- Calculate the molecular mass of the compounds
MgSOâ‚„ = 24 + 32 + (16 x 4) = 120
Hâ‚‚O = 16 + 2 = 18
2.- Convert the grams obtain to moles
            120 g of MgSO₄  --------------- 1 mol
             2.8 g          ----------------  x
             x = (2.8 x 1)/120
            x = 0.024 moles
             18 g of H₂O --------------------- 1 mol
             2.14 g      -------------------- x
             x = (2.14 x 1)/18
             x = 0.119
3.- Divide by the lowest number of moles
MgSOâ‚„ Â = 0.024/0.024 = 1
Hâ‚‚O = 0.119/ 0.024 = 5
4.- Write the molecular formula
          MgSOâ‚„5Hâ‚‚O            Â