Mole fraction (X_(compound))(Xcompound) = ("moles compound"/"total moles of all compounds")(moles compoundtotal moles of all compounds)
Given:
0.564 g NaCl0.564gNaCl = (0.564g)/(58(g/"mol"))0.564g58(gmol) = 0.0097"mole"0.0097mole
1.52 g KCl1.52gKCl = (1.52g)/(74(g/"mol"))1.52g74(gmol) = 0.0205"mole"0.0205mole
0.857 g LiCl0.857gLiCl = (0.857g)/(42(g/"mol"))0.857g42(gmol) = 0.0204"mole"0.0204mole
Sigma "moles" = (0.0097 + 0.0205 + 0.0204)"mole" = "0.0506mole"
X_(LiCl) = ("moles LiCl")/(Sigma"moles") = (0.0204)/(0.0506) = 0.04032