A white solid substance X underwent a series of tests in which samples of X were calcined in a flow of various gases and the resultant solid residues were weighed. The experimental data are summarized in the attached table. In all tests the mixture on exit contained, aside from the initial gases, the same unknown gas Y. In test No. 5, a reddish-brown substance Z condensed on the colder parts of the apparatus. Identify the lettered compounds.
This one seemed to me very interesting but I don't know how to conclude what compounds could it be, so I would need some hints for the beginning.
Test No. 5 seems the most interesting. The substance must have been dissolved in HCl so it is probably a carbonate, but why are HCl and Cl2 used together?