Look up the standard electrode potentials:
The cerium 1/2 cell is the most +ve so this will take in electrons and shift right. The tin 1/2 cell will give out electrons and shift left.
The overall cell reaction will be:
There are different conventions around to find
The simplest way is to subtract the least +ve value from the most +ve: