an atom of magnesium has 12 protons and 12 electrons. if the atom loses 2 electrons, what will be the charge on the ion that forms?