The correct option is B Mg3N2
Magnesium nitride consists of magnesium ion and nitride ion i.e. Mg2+ and N 3−, which have a charge of +2 and -3 respectively.
SymbolMgNCharge+2-3
On cross-multiplication and balancing the charge, we get the formula as Mg3N2.