Dear student,
X is Calcium carbonate (CaCO3).
CaCO3 + Acid = Metal Salt + Water + CO2
If we take the acid as HCl then the reaction would be:
CaCO3 + 2HCl -------> CaCl2 + CO2 + H2O
Y is Lime water Ca(OH)2 or slaked lime.When this CO2 gas is passed through Lime water , the lime water turns milky due to the formation of Calcium Carbonate and thus it is formed again.
Ca(OH)2 + CO2 ---------> CaCO3 + H2O
The gas evolved at anode during electrolysis of brine is chlorine (G) When chlorine gas is passed through dry Ca(OH)2 (Y) produces bleaching powder (Z) used for disinfecting drinking water.
2Ca(OH)2 + 2Cl2 ------> Ca(OCl)2 + CaCl2 + 2H2O
Bleeching powder (Z)