A yellow powder X gives a pungent smell if left open in air. It is prepared by the reaction of dry compound Y with chlorine gas

A yellow powder X gives a pungent smell if left open in air. It is prepared by the reaction of dry compound Y with chlorine gas. It is used for disinfecting drinking water. Identify X and Y and write the reaction involved.

Chemical Reaction:
image

‘X’ = CaOCl2 (Bleaching powder)
‘Y’ = Ca(OH)2 (Slaked lime)