Answer: The balanced chemical equation is written below.
Step-by-step explanation:
Every balanced chemical equation always follow law of conservation of mass.
This law states that mass can neither be created nor be destroyed but it can only be transformed from one form to another form. This also means that total number of individual atoms on reactant side must be equal to the total number of individual atoms on the product side.
When magnesium metal is burned in air, it results in the formation of white colored compound known as magnesium oxide.
The chemical equation for the reaction of magnesium and oxygen follows:

By Stoichiometry of the reaction:
2 moles of magnesium metal reacts with 1 mole of oxygen gas to produce 2 moles of magnesium oxide.
Hence, the balanced chemical equation is written above.