Answer:
where are those two images which you have sent
Mass % of nitrogen = mass of nitrogen*100 / total mass
= 14*100 / (1+ 14 + 32)
= 14*100 / 47
= 29.7 %
The middle nitrogen has two sigma bonds and one pi bond. You know that one p orbital is used in the double bond and two sp2 orbitals are involved in the sigma bond. This leaves one sp2 orbital for the lone pair to occupy.