For 12, you arrange the metals in order of most reactive to least (decreasing order)
The numbers are their standard reduction potentials (given in question)
So similarly to the reduction potentials on the back of the periodic table, the most negative is the most reactive, apply the same concept here.
Hence if ranked in decreasing order it is: Cd (-0.40V), Ni (-0.24V), Ag (0.80V) and Pd (0.92V)
Which is the answer D.