$(A)\xrightarrow{{\operatorname{Re}duction}}(B)\xrightarrow{{HN{O_2}}}{C_2}{H_5}OH$
$R-NH_2$ $\xrightarrow[{HCl}]{{NaN{O_2}}}$ $..................$
(a gas is evolves with brisk effervescene is)
${{C}_{2}}{{H}_{5}}N{{H}_{2}} \xrightarrow{HN{{O}_{2}}}A \xrightarrow{PC{{l}_{5}}}B \xrightarrow{H.N{{H}_{2}}}C$

product $(A)$ is

Considering the above reaction, $X$ and $Y$ respectively are