Magnesium reacts with oxygen gas to form magnesium oxide. Which of the following represents the balanced chemical equation?

Mg + O2 --> MgO

Mg + O2 --> 2MgO

2Mg + 2O2 --> 2MgO

2Mg + O2 --> 2MgO