The "alum" used in cooking is potassium aluminum sulfate hydrate, KAl(SO3)2⋅xH2O. To find the value of x, a sample of the compound is heated. The mass of the empty crucible is 20.01 g.
The alum hydrate was added to the crucible until the total mass of the crucible and hydrate was 24.75 g. The sample was heated in the crucible until the final mass of the crucible and anhydrous product was 22.5 g.
What is the value of x?