When atoms of two elements combine, each atom attains a stable electron configuration. Which of the following formulas correctly shows this?

MgS
LiO2
Na2I
Zn2O

Na2I