Concept:White precipitate with silver nitrate soluble in aqueous ammonia indicates chloride ions; white precipitate soluble on heating indicates lead ions.Explanation:X+AgNO3 gives a white precipitate soluble in NH3, so X contains Cl−.Y added to X forms a white precipitate soluble when heated, so Y contains Pb2+.Pb2++2Cl−→PbCl2↓PbCl2 is soluble in hot water.Answer:X contains Cl−, Y contains Pb2+; the intended option is C. Pb2+,Cl−.