When chlorine reacts with cold aqueous sodium hydroxide, sodium chloride, water and compound X are formed. When chlorine reacts with hot aqueous sodium hydroxide, sodium chloride, water and compound Y are formed. What are the oxidation states of chlorine in compound X and compound Y?
- AX: $-1$, Y: $-5$
- BX: $-1$, Y: $+5$
- CX: $+1$, Y: $-5$
- DX: $+1$, Y: $+5$