The cell representation of the given reactions is:
Zn(s) + 2Ag+ → Zn2+ + 2Ag(s)
Zn|Zn2+||Ag+|Ag
Zinc is oxidizing to Zn2+ and Ag+ is reducing to Ag. Oxidation half reaction is written first in the cell representation and reduction half reaction is written afterwards.