Look at the periodic table to find the charge on atoms.
Magnesium is +2 and Nitrogen is -3. Since there are two nitrogen charge 2*-3 = -6 there needs to be 3 Mg then (3*2+ = 6+) to pair with the two nitrogen.
3 Mg(+2) + 2 N(-3) = Mg3N2
Reaction [taking place]
Hope that helps
The moles of gas in the bottle has been 0.021 mol.
The ideal gas has been given as the gas where there has been negligible amount of interatomic collisions. The ideal gas equation has been given as:

<h3>Computation for the moles of gas</h3>
The gi<em>ve</em>n gas has standard pressure, 
The volume of the gas has been, 
The temperature of the gas has been, 
Substituting the values for the moles of gas, <em>n:</em>
<em />
<em />
The moles of gas in the bottle has been 0.021 mol.
Learn more about ideal gas, here:
brainly.com/question/8711877
I don’t know this, so I did research, so here! This is from a website called “Quora”, btw!
If you need more information, just go to this app by copying and pasting your question on the G o o g l e Search bar!