Mass of water driven off = mass of hydrate minus mass of residue. Mass of anhydrous salt = mass of residue. Every gravimetric hydrate question reduces to those two lines, so write them down before doing any mole arithmetic. Remember to subtract the crucible mass from both readings first.
Let m₀ be the empty crucible mass, m₁ crucible plus hydrate, and m₂ crucible plus dry residue. Then hydrate mass = m₁ − m₀, anhydrous-salt mass = m₂ − m₀, and apparent water mass = m₁ − m₂. The crucible cancels only in the last subtraction. For 30.00, 32.50 and 31.22 g, those quantities are 2.50, 1.22 and 1.28 g respectively. Label all three before choosing the molar masses.