A solution X, on mixing with AgNO\(_3\) solution gives a white precipitate soluble in aqueous…