A solution x formed a white precipitate both with dilute sulphuric acid and with aqueous silver nitrate.what could solution X contains

The anion can be Cl^-, Br^-, I^-

The cation can be Ca^2+ under the right conditions, Ba^2+, Sr^2+. Ra^2+
So the salt probably is BaCl2 but could be combinations of the above.