A 1.80 g sample of barium chloride hydrate, BaCl2 ⋅ xH2O is treated with excess sulfuric acid, forming a BaSO4 precipitate which has a mass of 1.72 g. Calculate the value of x.
A)7
B)2
C)1
D)5
E)3