This isn't so much about electron donating/withdrawing (like ortho/meta/para stuff) as it is simply resonance and other CARDIO factors that affect the strength of a base.
The most basic one is going to be the one that is least stable. We also note that the electron pair on the Nitrogen atom is most likely what we're focusing on in terms of where the base will attack from. So looking at our choices, which ones have stabilization going for them, therefore being relatively weaker bases? If you number them 1 - 5 starting from the left: 2, 3, and 5 all have resonance stabilization from the attached benzene ring. We can instantly rule them out as they are less basic.
That leaves 1 and 4. What other factors in CARDIO (Chad's mnemomic from his first Orgo lecture) are differentiating the two? The orbitals of the Nitrogen atom. Since choice 4 is sp2 hybridized, it stabilizes the electron pair on that atom more so than the sp3 hybridized Nitrogen atom in choice 1.
Choice 1 is left as the least stable (and most basic) as a result.