(a) The metal ion present in solution A is the aluminium (Al3+) ion. Aluminium oxide or aluminium hydroxide reacts with sodium hydroxide solution to form an insoluble white precipitate of sodium aluminate.
Al(OH3)(s)+NaOH(aq)⟶NaAlO2(s)+2H2O(l)
Al2O3(s)+2NaOH(aq)⟶2NaAlO2(s)+H2O(l)
(b) The metal ion present in solution B is the copper (Cu2+) ion. The probable colour of solution B should be deep blue. Cupric salts react with ammonium hydroxide to form a pale blue precipitate of copper hydroxide, which on further treatment with an excess of ammonium hydroxide forms soluble complex salt of copper that is deep blue in colour.
CuSO4(s)+2NH4OH(aq)⟶Cu(OH)2(s)+(NH4)2SO4(s)
Cu(OH)2(s)+(NH4)2SO4(s)+2NH4OH(aq)⟶Cu(NH3)4SO4(s)+4H2O(l)