Hey there!
A mole is measured in atoms, molecules, particles. It's kind of a loose sort of measurement, just unit of the substance.
Since there is a ratio of 1 to 1 nitrogen to oxygen, there will be the same amount of molecules as atoms of nitrogen.
2.25 moles of NO gas are formed from 2.25 moles of nitrogen.
Hope this helps!