Answer
Main group metals tend to lose electrons to form cations with a charge equal to the group number. Main group nonmetals tend to gain electrons and form anions with a charge equal to the group number minus eight.
Work Step by Step
All of these ions have the same number of electrons as the nearest noble gas.