Why it will be option 2
Here most basic nitrogen is that which participate in reaction in option B and here acid base reaction takes place so H+ will react with most basic nitrogen.
And in option A lone pair of nitrogen is not available for proceeding any reaction with H+ ion from HCl.
N attached to benzene has lone pair participating in resonance,, so other N atom will participate in acid base reaction..am I right??