A 6.881-g sample containing magnesium chloride and
sodium chloride was dissolved in sufficient water to give
500 mL of solution. Analysis for the chloride content of
a 50.0-mL aliquot resulted in the formation of 0.5923 g
of AgCl. The magnesium in a second 50.0-mL aliquot
was precipitated as MgNH4PO4; on ignition, 0.1796 g
of Mg2P2O7 was found. Calculate the percentage of
MgCl2 # 6H2O and of NaCl in the sample.