2Mg + O₂ → 2MgO
This equation indicates that two moles of magnesium (2Mg) react with one mole of oxygen (O₂) to produce two moles of magnesium oxide (2MgO).