Dear student,
Please find the solution to your problem below.
In the extraction of gold and silver , the metal is leached with NACN or KCN , which is an oxidation reaction, during this process Ag is oxidised to Ag+ then the reaction with Zn result in formation of free metal.
Ag2S + 4NaCN → 2Na[Ag(CN)2] + 4Na2S
2Na[Ag(CN)2] + Zn → Na2[Zn(CN)4] + 4Ag(ppt.)
Hope it helps.
Thanks and regards,
Kushagra