The correct options are
A N4
D P2
From bond energy value it can be seen that for N, triple bond energy is very high relative to single bond energy so it exists as N≡N.
While for P, single bond energy is high relative to triple bond energy so it exists as P4. (structure II)