J.R. S. answered 04/27/24
Ph.D. University Professor with 10+ years Tutoring Experience
Reduction takes place at the cathode:
Al3+(aq) + 3e- ==> Al(s)
Oxidation takes place at the anode:
Mg(s) ==> Mg2+(aq) + 2e-
In order to equalize electrons being transferred, multiply reduction by 2 and oxidation by 3 to get:
Cathode reaction:
2Al3+(aq) + 6e- ==> 2Al(s)
Anode reaction:
3Mg(s) ==> 3Mg2+(aq) + 6e-