What rule do atoms that tend to combine in such a way that they have eight electrons in their valence shell follow ?
The valence electrons can be counted using a Lewis electron dot diagram as shown at the right for carbon dioxide .