please please help me solve this, I have a test and only 20 mins left T-T

Answer: [tex]5.6dm^3[/tex[ of gas is produced when 0.1 moles of magnesium nitrate is decomposed.
Explanation:
The balanced chemical equation is:
[tex]2NH_4NO_3(s)\rightarrow 2MgO(s)+4NO_2(g)+O_2(g)[/tex]
According to stoichiometry :
2 moles of [tex]NH_4NO_3[/tex] produce = 4 moles of [tex]NO_2[/tex] gas and 1 mole of [tex]O_2[/tex] gas
2 moles of [tex]NH_4NO_3[/tex] produce = 5 moles of gas
Thus 0.1 mole of [tex]NH_4NO_3[/tex] produce =[tex]\frac{5}{2}\times 0.1=0.25moles[/tex] of gas
Volume of gas produced = [tex]moles\times {\text {Molar volume}}=0.25moles\times 22.4dm^3/mol=5.6dm^3[/tex]
Thus [tex]5.6dm^3[/tex[ of gas is produced when 0.1 moles of magnesium nitrate is decomposed.