AgI(s)⇌Ag++I−
Ksp=[Ag+][I−]=1.2×10−17
Kf=[Ag(CN)−2][Ag+][CN−]2=7.1×10−19
Keq=Ksp×Kf=[Ag(CN)−2][I−][CN−]2=8.52×102
Let us consider the following equilibrium
AgI(s)+2CN−⇌[Ag(CN)−2]+I−
t=0 1 0 0
teq 1−2x x x
Let ′x′ moles of AgI be dissolved in CN−
Then,
AgI(s)+2CN−⇌[Ag(CN)−2]+I−
Keq=8.52×102=x×x(1−2x)2
x=0.49mole