An electron shell can hold 2(n^2) electrons (technically) where n is the shell number, i.e. shell 1 can hold 2, shell 2 can hold 8, 3 holds 18 and so on.
The atomic number of Nitrogen is 7, i.e. it has 7 electrons (to match its 7 protons, assuming it isn't an ion).
With the atomic number, you simply start from shell 1 and work out. So we put 2 electrons in shell 1, leaving us with 5 left. Shell 2 can hold 6 so we can fit all 5 in.
In other words, you should have 2 electron shells on the atom, shell 1 with 2 e- and shell 2 with 5 e-.
Answer: D. The elements have the same number of valence electrons
Explanation: The chemical reactivity of elements is governed by the valence electrons present in the element.
The elements present in the same group or vertical column have similar valence configurations and thus behave similarly in chemical reactions or have similar bonding properties.
For Example: Both fluorine and chlorine belong to same family or group and both have 7 electrons in their valence shell and thus accept single electron to attain noble gas configuration.




thus both would bond with a cation bearing a single positive charge.