Step 1: Read the clue in the question:
The Hinsberg reagent, $\mathrm{C_6H_5SO_2Cl}$, forms a sulphonamide with the amine. The clue is that this product does not dissolve in alkali.
A sulphonamide dissolves in NaOH only if it still has an acidic hydrogen on nitrogen.
Step 2: Count the hydrogens on nitrogen:
If the sulphonamide has no N-H, it is insoluble. That happens only when the original amine had exactly one H on nitrogen to give up, that is, a secondary amine.
A primary amine leaves one H on N after reacting, so its product is soluble as the sodium salt. A tertiary amine never reacts.
Step 3: Classify each option:
(A) $\mathrm{(CH_3)_2NH}$: two methyl groups and one H on N, so secondary.
(B) $\mathrm{(CH_3)_3N}$: three methyl groups, no H, so tertiary.
(C) $\mathrm{CH_3CH_2NH_2}$: one alkyl group and two H, so primary.
(D) $\mathrm{C_6H_5NH_2}$: one aryl group and two H, so primary (aniline).
Step 4: Choose:
Only (A) is secondary, so only (A) gives an alkali-insoluble sulphonamide.
Final Answer:
The amine X is dimethylamine, option (A). \[ \boxed{\text{(A)}} \]