a. <em>Monatomic ions
</em>
Cs is in Group 1. It has <em>one valence electro</em>n that it can lose to form a Cs⁺ ion.
Mg is in Group 2. It has <em>two valence electrons</em> that it can lose to form an Mg²⁺ ion.
N is in Group 15. It can gain <em>three valence electrons</em> to complete its octet and form an N³⁻ ion.
b. <em>Ionic compounds</em>
In an ionic compound there must be the same number of positive and negative charges.
It takes <em>three Na⁺ ions</em> to balance the charge on <em>one N³⁻ ion</em>, so the formula of sodium nitride is Na₃N.
It takes <em>three Mg²⁺ ions</em> (charge = +6) to balance the charge on <em>two N³⁻ ions</em>
(charge = -6), so the formula of magnesium nitride is Mg₃N₂.