Respuesta :

It has to be oxygen as it has a charge of -2 and magnesium has a charge of +2 so when they bond it would be MgO