The reactions you have shown here are for metals ,which in general follow the activity series,as shown below :
Metals Metal Ion Reactivity
K K+
Na Na+
Li Li+
Ca Ca2+ reacts with water
Ba Ba2+
Sr Sr2+
Mg Mg2+ reacts with acids
Al Al3+
Mn Mn2+
Zn Zn2+
Cr Cr2+
Fe Fe2+
Cd Cd2+
Co Co2+
Ni Ni2+
Sn Sn2+
Pb Pb2+
H2 H+ included for comparison
Sb Sb3+ highly unreactive
Bi Bi3+
Cu Cu2+
Hg Hg2+
Ag Ag+
Au Au3+
Pt Pt+
A metal can replace metals listed below it in the activity series, but not above. For example, sodium is highly active and thus able to replace hydrogen from water:
2 Na (s) + 2 H2O (l) → 2 NaOH (aq) + H2 (g)
Metals that can replace hydrogen within acids but not water are listed in the middle of the activity series, for example zinc replaces hydrogen in sulfuric acid:
Zn (s) + H2SO4 (aq) → ZnSO4 (aq) + H2 (g)
The reactivity series has applications in electrochemistry, where two dissimilar metals are chosen as electrodes of a battery ..
The reactivity series determines qualitatively characteristics such as the reactions with water, air and acids as demonstrated above. However it is defined by the nature of the metals in single displacement reactions.
When a metal in elemental form is placed in a solution of a metal salt it may be, overall, more energetically feasible for this "elemental metal" to exist as an ion and the "ionic metal" to exist as the element. Therefore the elemental metal will 'displace' the ionic metal over time, thus the two swap places. Only a metal higher in the reactivity series will displace another.
From this explaination it can be seen that equation (a),(b), (c) are possible but (d) and (e) are not possible .
(a) 2Li(s) + 2H2O (l) -------->2 LiOH (l) +H2 (g);
(b) 2 K(s) + 2H2O(l) ---------> 2 KOH(l) +H2 (g);
(c) Cu(s) + 2AgNO3(aq) ------> Cu(NO3 )2 +2 Ag(s)