If an atom has 8 valence electrons, how many electrons does it need to gain to achieve a stable electron configuration?