Based on the electron configuration of the two atoms predict the ratio of metal cationic (+) atom to nonmetal anionic (-) atom in the compound hence the ratio is 1:1.
What does the octet rule say?
The Octet Rule states that the atoms of the elements bond to each other in an attempt to complete their valence shell (the last shell of the electrosphere).
Basically, they obey the octet rule which states that the capacity of atoms (e.g. here Magnesium and Sulfur) to prefer to have 8 (eight) electrons (e-) in their respective valence shells. In this case, Magnesium is Mg (+2) and Sulfur is (-2) hence the ratio is 1:1.
See more about octet rule at brainly.com/question/865531
#SPJ1