A metal in group 17 of the periodic table can become a chemically stable ion by A. losing one electron. B. gaining one electron. C. gaining two electrons. D. losing two electrons.