The electrolysis of molten calcium chloride produces calcium and chlorine. Write
a) the half-reaction that occurs at the anode,
b) the half-reaction that occurs at the cathode.