During the electrolysis of molten sodium chloride, chlorine gas is produced at the anode. Which half-equation correctly represents the formation of chlorine at the anode?
Cl2+2e−→2Cl−\text{Cl}_2 + 2\text{e}^- \rightarrow 2\text{Cl}^-Cl2+2e−→2Cl−
2Cl−→Cl2+2e−2\text{Cl}^- \rightarrow \text{Cl}_2 + 2\text{e}^-2Cl−→Cl2+2e−
Cl−→Cl+e−\text{Cl}^- \rightarrow \text{Cl} + \text{e}^-Cl−→Cl+e−
2Cl−→Cl2−2e−2\text{Cl}^- \rightarrow \text{Cl}_2 - 2\text{e}^-2Cl−→Cl2−2e−