The mass of hydrated magnesium chloride before and after heating was 4.880 g and 2.290 g, respectively. What is the value of x in the formula