Dear Student,
Mass of MgSO4=120.366g/mol
Mass of H2O = 18.015
Percentage of crystallisation=mass of water of crystallisation/mass of compound *100%
Given percentage of crystallisation= 13%
X =1
HENCE required value of X is one
with regards.. 13= 18.015X * 100 / (120.366+18.015X)