J.R. S. answered 07/12/21
Ph.D. University Professor with 10+ years Tutoring Experience
According to standard convention, we put the cathode on the right side and the anode on the left side of the shorthand notation. Thus...
Cd = anode (oxidation takes place here)
Pb = cathode (reduction takes place here)
Cd(s) ==> Cd2+(aq) + 2e- (oxidation rxn)
Pb2+(aq) + 2e- ==> Pb(s) (reduction rxn)
------------------------------------
Cd(s) + Pb2+(aq) ==> Cd2+(aq) + Pb(s) (redox rxn)