Step 1: Plan:
I take each part one arrow at a time. At every arrow I ask what the reagent does to the functional group on the left.
The product of one arrow becomes the starting compound of the next.
Step 2: Aniline with Br2 and water:
In aniline the lone pair on nitrogen flows into the ring. This makes the 2, 4 and 6 positions very rich in electrons.
Bromine water needs no catalyst here. It brominates all three positions, and the product settles as a white solid.
So A has the formula $\mathrm{C_6H_2Br_3NH_2}$ and is 2,4,6-tribromoaniline.
Step 3: NaNO2 with HCl at 0-5 degrees C:
These reagents make nitrous acid in the flask. Nitrous acid turns a primary aromatic amine into a diazonium salt.
The low temperature keeps the salt from breaking down.
So B is $\mathrm{C_6H_2Br_3N_2^{+}Cl^{-}}$, which is 2,4,6-tribromobenzenediazonium chloride.
Step 4: H3PO2 with water:
Hypophosphorous acid is a mild reducing agent. It removes the diazonium group and puts a hydrogen atom in its place, and nitrogen gas leaves.
\[ \mathrm{ArN_2^{+}Cl^{-}} + \mathrm{H_3PO_2} + \mathrm{H_2O} \rightarrow \mathrm{ArH} + \mathrm{N_2} + \mathrm{H_3PO_3} + \mathrm{HCl} \]
So C is $\mathrm{C_6H_3Br_3}$, which is 1,3,5-tribromobenzene. Direct bromination of benzene cannot give this isomer, so this route is useful.
Step 5: Methyl chloride with KCN:
The cyanide ion is the nucleophile. It replaces chloride by attacking through carbon.
So A is $\mathrm{CH_3-C\equiv N}$, called methyl cyanide or ethanenitrile.
Step 6: LiAlH4 on the nitrile:
LiAlH4 adds hydrogen across the C-N triple bond and gives a primary amine.
\[ \mathrm{CH_3CN} + 4[\mathrm{H}] \rightarrow \mathrm{CH_3CH_2NH_2} \]
So B is ethanamine.
Step 7: CHCl3 with alcoholic KOH and heat:
Only a primary amine passes this test. It forms a carbylamine, which is an isocyanide.
\[ \mathrm{CH_3CH_2NH_2} + \mathrm{CHCl_3} + 3\mathrm{KOH} \rightarrow \mathrm{CH_3CH_2N{\equiv}C} + 3\mathrm{KCl} + 3\mathrm{H_2O} \]
So C is ethyl isocyanide, $\mathrm{C_2H_5NC}$.
Final Answer:
(a) A is 2,4,6-tribromoaniline, B is 2,4,6-tribromobenzenediazonium chloride and C is 1,3,5-tribromobenzene.
(b) A is $\mathrm{CH_3CN}$, B is $\mathrm{CH_3CH_2NH_2}$ and C is $\mathrm{CH_3CH_2NC}$.