$'C'$ is water soluble
Correct structure of $A$ and $D$ are
$R - \mathop {\mathop C\limits^{||} }\limits^O - OH\xleftarrow{{{H_3}{O^ + }}}X\xrightarrow{{[H]}}RC{H_2}N{H_2};$
'$X$' is

${C_6}{H_5} - N{H_2}\xrightarrow[{HCl}]{{NaN{O_2}}}A\xrightarrow{{CuCN}}B\xrightarrow{{{H_2}/Ni}}C\xrightarrow{{HN{O_2}}}D$
product $(D)$ would be
$C_2H_5-Br\overset{AgCN}{\rightarrow}A\overset{H_2/Ni}{\rightarrow}B$
Product $B$ is
$CH_3CH_2NH_2 + CHCl_3 + 3KOH \rightarrow (A)+ (B) + 3H_2O,$
the compounds $(A)$ and $(B)$ are respectively