The correct option is B x=1,y=4
AgNO3+HCl→AgCl+HNO3AgCl+NH4OH→[Ag(NH3)2Cl]+NH4Cl
Addition of colorless aqueous silver nitrate to hydrochloric acid produces white precipitates of AgCl, which is a common test for chloride ion presence. The ppt of AgCl can be dissolved by ammonium hydroxide solution.