Reaction 1: \(-\mathrm{NH_2}\) is a strongly activating ortho/para director. With excess bromine water all three ortho/para positions are brominated and a white precipitate of 2,4,6-tribromoaniline forms (A).
Reaction 2: (i) Acetic anhydride converts \(-\mathrm{NH_2}\) into \(-\mathrm{NHCOCH_3}\) (acetanilide). The lone pair is now partly delocalised onto the carbonyl, so the ring is only moderately activated.
(ii) \(\mathrm{Br_2}\) in \(\mathrm{CH_3COOH}\) gives mono-bromination, mainly at the para position (the bulky acetamido group blocks ortho): p-bromoacetanilide.
(iii) HCl hydrolyses the amide back to the amine: 4-bromoaniline (B).
So A = 2,4,6-tribromoaniline and B = 4-bromoaniline, which is option (3).
Answer: (3) 2,4,6-tribromoaniline and 4-bromoaniline