Show the formation of Na2O and MgO by the transfer of electrons

Show the formation of Na2O and MgO by the transfer of electrons