BaCl2.4H2O
BaCl2.H2O
BaCl2.2H2O
BaCl2.3H2O
Let the formula of the hydrated salt be BaCl2.xH2O
BaCl2.xH2O Δ → BaCl2 + xH2O
Molar mass (g/mol) 208 + 18x 208
Mass (g) 61 52
Thus
208/61 = 52/(208+18x)
244 = 208 + 18x
36 = 18x
x = 2
Hence, the formula of the hydrated salt is BaCl2.2H2O.