An atom has 9 electrons and 9 protons at the start. If it loses 2 electrons, the net charge on the atom will be 8-2-2+8+. If the atom instead gains 4 electrons, the net charge will be 5-4-4+5+