Hardness is measured in terms of ppm of calcium carbonate.
1 mol of MgSO4≡ 1 mol of CaCO3
120 g of MgSO4≡100 g of CaCO3
6×10−3g of MgSO4≡5×10−3g of CaCO3
103 g of H2O contains 5×10−3g of CaCO3
So,
106 g of H2O will contain 5×10−3×106103g
So, the answer is 5 ppm.