Answer:
Anode:
3Mg(s) ----------> 3Mg2+(aq) + 6e
Cathode:
2Al3+(aq) +6e ---------> 2Al(s)
Step-by-step explanation:
Anode:
3Mg(s) ----------> 3Mg2+(aq) + 6e
Cathode:
2Al3+(aq) +6e ---------> 2Al(s)
Magnesium is more electro positive than aluminum hence it functions as the anode. Six electrons are lost/gained in the redox process as shown in the oxidation and reduction half reaction equations above. Magnesium is oxidized to magnesium ion while aluminum is reduced to elemental aluminum.