Answer is: B) 3.
Nitrogen (nonmetal) in this compound has oxidation number -3 and element X (metal) has oxidation number +2.
Smallest common multiple for 3 and 2 is 6.
number of nitrogen atoms = 6 ÷ 3.
number of nitrogen atoms = 2, there are two nitrogen atoms.
number of atom X: 6 ÷ 2 = 3.
For example, Mg₃N₂ is magnesium nitride. Nitrogen has -3 oxidation number and magnesium has oxidation number +2.