The dot and cross diagram is a way of representing a molecule along with its valence electrons and respective bonds. Valence electrons are drawn as a dot or a cross, each element will have a different connotation. Around the atoms, circles are drawn that indicate the bonds and how the electrons are shared.
Carbon has 4 valence electrons and oxygen has 6, the dot-and-cross diagram of CO2 will be: