J.R. S. answered 05/08/19
Ph.D. University Professor with 10+ years Tutoring Experience
Mg(s) ==> Mg2+ + 2e-(aq) ... oxidation half reaction [x3]
Al3+(aq) + 3e- ==> Al(s) ... reduction half reaction [x2]
3Mg(s) + 2Al3+(aq) ==> 3Mg2+(aq) + 2Al(s) ... full cell reaction