All you need to know is which reactant, Na3PO4·12H2O or BaCl2·2H2O, is the limiting reactant by testing the supernatant from the solid Ba3(PO4)2 product. If you add a few drops of Na3PO4 solution to the supernatant and get a precipitate, Na3PO4·12H2O is the limiting reactant and BaCl2·2H2O is in excess. If you add a few drops of BaCl2 to the supernatant and get a precipitate, BaCl2·2H2O is the limiting reactant and Na3PO4·12H2O is in excess.
Reaction for reference:
2 Na3PO4·12H2O (aq) + 3 BaCl2·2H2O (aq) ––�gt; Ba3(PO4)2 (s) + 6 NaCl (aq) + 30 H2O (l)
From the moles of Ba3(PO4)2 you got, calculate the moles of the limiting reactant according to the balanced chemical reaction, and then convert moles of the limiting reactant to grams by multiplying the moles by its formula weight (include the waters of hydration in the formula weight). Subtract the weight of the limiting reactant from the original mixture weight to get the weight in grams of the other reactant in the original mixture.
Percent BaCl2·2H2O = grams of BaCl2·2H2O X 100
total grams of mixture
Percent Na3PO4·12H2O = grams of Na3PO4·12H2O X 100
total grams of mixture