Answer:
A) Oxygen needs access to two electrons to satisfy the octet rule. magnesium prefers to lose two valance electrons to satisfy the octet rule.Oxygen can remove the two electrons from magnesium, forming ions leading to an ionic bond.
Explanation:
Oxygen is present in group sixteen and have six valance electrons. while magnesium is alkaline earth metal and present in group two and have two valance electrons.
Oxygen needs two electron to complete the octet while magnesium need to lose the two electrons to get the complete octet.
When oxygen is combine with magnesium it gain its two valance electrons and form anion while magnesium loses its two electron to wards oxygen and form cation. The bond form between them is ionic because one is metal and other is non metal and electrons are completely transfer from magnesium to oxygen.