For the galvanic cell: $\ce{Ag|AgCl(s)|KCl(0.2M)||KBr(0.001M)|AgBr(s)|Ag}$, calculate the electromotive force (EMF) generated.
$K_\mathrm{sp}(\ce{AgCl}) = 2.8\times10^{-10}$; $K_\mathrm{sp}(\ce{AgBr}) = 3.3\times10^{-13}$
I have tried this forming the cell reaction which is coming out to be $$\ce{AgCl + Br- <=> AgBr + Cl-}$$ then using the $K_\mathrm{sp}$ of both salts I found the equilibrium constant which should be $$K_\mathrm{eq} = \sqrt{\frac{K_\mathrm{sp}(\ce{AgCl})}{K_\mathrm{sp}(\ce{AgBr})}}$$ then I put it in the formula $$E_\mathrm{cell} = -0.059 \log(K_\mathrm{eq})$$ but my answer is coming wrong.