I'm not quite understand what does "mole fraction" mean. but if "omkar" 's answer is right ,then I suppose you make a mistake:"Let x=mole fraction of NaCl=nNaCl/nCl
and y=mole fraction of KCl=nKCl/nCl
Therefore, x+y=1". I think it should be x+y=1.5e-3 , not 1.
another point , if I have got the exact meaning of this question that means that the total weight and total number of moles of the mix with two componets are both given and the molecular weight of KCL and NaCL is known(74.55 and 58.41 respectively), then the answer can be decided without calculation. reason: there are only 2 numbers uncertain actually, x and y , and correspondingly 2 equations can be built x +y =1.5e-3 and 74.55x + 58.41y=1, so we have 2 uncertain numbers and 2 equations , this 2 nembers can be calculated definitely. we call it a group of duality simple eqation. this method of judgement before calculation is more important than this question, I think. I hope my answer will be useful to you.