(i)CN− replaces I (A, one C added); partial hydrolysis stops at the amide (B); Br2 + NaOH is the Hoffmann degradation, removing one C, so C is the 2-carbon amine.
(ii) CuCN replaces N2+ by CN (Sandmeyer); acid hydrolysis gives the acid; heating the ammonium salt with NH3 gives the amide.
(iii) Cyanide adds one C; LiAlH4 reduces C≡N to CH2NH2; a primary aliphatic amine with HNO2 gives an unstable diazonium salt that loses N2 and forms the alcohol.
(iv) Fe/HCl reduces –NO2 to –NH2; diazotisation at 273 K; warming in water replaces N2+ by –OH: C6H5N2+Cl−+H2O→C6H5OH+N2+HCl.
(v) The ammonium salt loses water on heating to the amide; NaOBr (Br2 + NaOH) is the Hoffmann reagent; methanamine with nitrous acid gives methanol and N2.
(vi) Diazonium ion couples with phenol at its para position, giving the orange azo dye.