From dots to lines: count the valence electrons, connect, fill the outer atoms, put leftovers on the center, and check. Water step by step, then carbon dioxide runs short and shares more to make double bonds.