Fill in the blanks to explain formation of ionic compounds: 
 
Magnesium has electronic configuration of (\(2, 8, 2\)).
   
Oxygen has electronic configuration of (\(2, 6\)).
   
Magnesiumelectron and becomes ion with configuration.
   
Oxygen that electron and becomes ion with configuration .
   
The oppositely charged ions are held together by electrostatic force forming an ionic compound called .