1C, because calcium phosphate contains P [phosphate is PO4, charge 3-], and there's K and N in the potassium nitrate [KNO3]
2A, yes.
3D because each X needs to donate 2electons and each Y needs to gain one.
4D, as potassium fluoride, calcium chloride and zinc sulfide are ionic compounds.