An aqueous solution of a salt gives a white precipitate when mixed with a few drops of aqueous sodium hydroxide. This precipitate dissolves in excess sodium hydroxide to form a colorless solution. The same salt solution also gives a cream precipitate when mixed with dilute nitric acid and aqueous silver nitrate. Which could be the formula of the salt?
MgBr2\text{MgBr}_2MgBr2
ZnBr2\text{ZnBr}_2ZnBr2
AlCl3\text{AlCl}_3AlCl3
NaI\text{NaI}NaI