Write electron-dot structures for magnesium and oxygen.
The electron-dot structure of magnesium and oxygen is: