How does the carbon atom complete its octet? It forms ionic bonds by sharing electrons. It forms covalent bonds by donating electrons. It forms covalent bonds by sharing electrons.