Will give brainliest! What is the balanced equation for Mg+O2?

I got:

Mg+O2 -> MgO2

2Mg+O2 -> 2MGO

Both may or may not be right so if its neither please put the correct answer. Thanks!