A student is given two aqueous solutions, X X\,X and YYY, that both contain metal salts.
The student performs a series of chemical tests on both solutions.
Table 1 summarizes these tests and the resulting observations.
Table 1
| Test | Observations with X | Observations with Y |
|---|---|---|
| Add ammonia solution slowly until in excess. | A brown precipitate forms that is insoluble in excess. | A green precipitate forms that is insoluble in excess. |
| Add sodium carbonate solution. | A brown precipitate forms. Effervescence is seen. | A green precipitate forms. |
| Add dilute nitric acid and then divide into two portions. | No change is seen. | No change is seen. |
| Add barium chloride solution to the first portion. | No change is seen. | A white precipitate forms. |
| Add silver nitrate solution to the second portion. | A white precipitate forms. | No change is seen. |
Identify the salts present in solutions X and Y using the results in Table 1.
In your answer: