In the molecule pictured on the photo, nitrogen atom number 7 looks the most basic. It is 2 degree, the lone pair is localized and there is no resonance, so it should accept the proton readily.
But the given answer is 3. Why is that?
To find the nitrogen atom which will most readily accept proton we see the lone pairs of nitrogen atom so here Nitrogen number 1,2,4,6 and 8 have their lone pairs delocalised by resonance so they will not readily accept the proton so the most probable answers will be 3,5,7 or 9 .