Option 1 (alternative treatment):
(i) Distinguishing the three amines: The standard single test is Hinsberg's test with benzenesulphonyl chloride, C6H5SO2Cl. Everything follows from how many hydrogens sit on nitrogen.
• A 1° amine (R-NH2) still keeps one N-H after reacting, and that N-H is made acidic by the neighbouring -SO2- group; the sulphonamide forms a salt and dissolves in KOH: C6H5SO2NHR + KOH → C6H5SO2NRK + H2O (clear solution).
• A 2° amine (R2NH) loses its only N-H on substitution, so C6H5SO2NR2 has no acidic proton and stays as an insoluble solid in KOH.
• A 3° amine (R3N) has no N-H at all and cannot form a sulphonamide, so nothing happens.
Summary of observations: clear solution means primary; insoluble solid means secondary; no reaction means tertiary. (The carbylamine test, R-NH2 + CHCl3 + 3KOH → R-NC + 3KCl + 3H2O, is a confirmatory test for 1° amines only.)
(ii) Gabriel synthesis: a way to obtain primary amines free from 2°/3° contamination. Potassium phthalimide (from phthalimide + KOH) acts as a nitrogen nucleophile toward an alkyl halide, giving N-alkylphthalimide. Cleaving this imide by aqueous acid or base hydrolysis, or better by hydrazine (hydrazinolysis), releases R-NH2 and returns the phthalic acid (or its hydrazide). Because the key step is an SN2 displacement on the halide, it works for alkyl halides but fails for aryl halides, so aromatic primary amines cannot be prepared by it.
Option 2 (alternative wording of the routes):
(i) Aniline is diazotised with nitrous acid (NaNO2 + HCl formed in situ) kept at 273–278 K: C6H5NH2 + HNO2 + HCl → C6H5N2+Cl− + 2H2O.
(ii) Acetamide is degraded with bromine and alkali (Hoffmann's method), losing one carbon to give methylamine: CH3CONH2 + Br2 + 4KOH → CH3NH2 + K2CO3 + 2KBr + 2H2O.
(iii) Nitrobenzene is reduced to aniline in acidic medium: C6H5NO2 + 6[H] →(Sn/HCl) C6H5NH2 + 2H2O, or catalytically with H2/Ni.