When water is added to X (calcium containing), solution of Y is formed. When CO2 is passed through it turns the solution milky due to formation of Z. If excess CO2 is passed into the solution, milkiness disappears due to formation of W. The compound W is:
CaO
Ca(OH) 2
CaCO3
Ca(HCO3)2