Hey there!:
*Since 1st N is trigonaplanar which indicates sp2 hybridized N and bond angle will be 120º .
*Thus C-N-N bond angle is 120º .
*Since 2nd N is said to have linear we get N-N-N bond angle 180º .
Now as we have resonance both N1-N2 and N2-N3 will have equal lengths .
Hope that helps!