Step 1: Overview:
The three items are named reactions from the Amines chapter. We write the reagents, the conditions, the equation and the use of each reaction.
Step 2: Carbylamine reaction:
Reagents are $CHCl_3$ and alcoholic KOH, with gentle heating. Only a primary amine ($RNH_2$ or $ArNH_2$) takes part, because it has two N-H bonds that can be removed. The product is an isocyanide with a strong foul smell, so the reaction is used as a test for primary amines.
\[ \mathrm{RNH_2 + CHCl_3 + 3KOH \to RNC + 3KCl + 3H_2O} \]
Step 3: Diazotization:
Diazotization means converting a primary aromatic amine into a diazonium salt with nitrous acid at 0-5 degrees Celsius (273-278 K). Nitrous acid is unstable, so it is made in the mixture: $NaNO_2 + HCl \to HNO_2 + NaCl$. Aniline then reacts as follows.
\[ \mathrm{C_6H_5NH_2 + HNO_2 + HCl \to C_6H_5N_2^{+}Cl^{-} + 2H_2O} \]
The diazonium salt is a key intermediate for making aryl halides, phenols, azo dyes and other compounds.
Step 4: Gabriel phthalimide synthesis:
Start with phthalimide, which has an acidic N-H. Ethanolic KOH removes the hydrogen to give potassium phthalimide. The nitrogen anion attacks an alkyl halide, giving N-alkylphthalimide. Hydrolysis with aqueous NaOH, or with hydrazine, breaks the two C-N bonds to the carbonyl groups and frees the primary amine, leaving sodium phthalate as the by-product.
\[ \mathrm{C_6H_4(CO)_2N^{-}K^{+} + R{-}X \to C_6H_4(CO)_2N{-}R + KX} \]
\[ \mathrm{C_6H_4(CO)_2N{-}R + 2NaOH + H_2O \to C_6H_4(COONa)_2 + R{-}NH_2} \]
The method gives only primary aliphatic amines, free of secondary and tertiary amines. It fails for aryl halides.
Conclusion:
Each reaction is a standard amine reaction with the equations written above.
\[ \boxed{\mathrm{C_6H_5NH_2 + NaNO_2 + 2HCl \xrightarrow{273-278\ K} C_6H_5N_2^{+}Cl^{-} + NaCl + 2H_2O}} \]