I want please to know in the case I have a compound structure and it has nitrongen atoms, how to differentiate between the basic and acidic nitrongens? 
Like in this pic
Thanks
[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/lPrXs.png