Valence 3 to 1, lose til theres none. Valence 7 to 5, gain til its 8 high. The noble gas is found by writing the configuration of the ion first, then matching it up to the noble gas. Nitrogen has 5 valence electrons (2-5), so you have to round up the number of valence electrons in the last electron shell to 8, based on the rule shown above. This makes the configuration 2-8, which matches up to the configuration of the noble gas neon (Ne).