For the following cell reaction, write the half reactions occurring at the anode and cathode and determine the electromotive force (EMF) of the cell:
\( 2Ag^+ + Cd \rightarrow 2Ag + Cd^{2+} \)
(Given, \( E^{\circ}_{Ag^+/Ag} = +0.80\ V \) and \( E^{\circ}_{Cd^{2+}/Cd} = -0.40\ V \))