$\pu{500 ml}$ of $\pu{0.01 M}$ $\ce{AgNO3}$ is mixed with $\pu{500 ml}$ of solution containing $\pu{0.1 M}$ $\ce{NaCl}$ and $\pu{0.1 M}$ $\ce{NaBr}$. $K_\mathrm{sp}$ of $\ce{AgCl}$ is $10^{-10}$ and $K_\mathrm{sp}$ of $\ce{AgBr}$ is $5×10^{-13}$. Find $[\ce{Ag+}],$ $[\ce{Cl-}],$ $[\ce{Br-}]$ in equilibrium solution.
After adding all of these molarities will get halved. At equilibrium condition, both $\ce{AgCl}$ and $\ce{AgBr}$ would have precipitated out. So, using the $K_\mathrm{sp}$ expression, we can find maximum amount of $\ce{Ag+}$ required to precipitate both the salts, and this becomes the equilibrium concentration of $\ce{Ag+}$.
Plugging these values in $K_\mathrm{sp}$ of respective salts, we can get the equilibrium concentration of remaining anions.
The $[\ce{Ag+}]$ for precipitation of $\ce{AgCl}$ is $\pu{2E-9},$ and for precipitation of $\ce{AgBr}$ is $\pu{E-11}.$
So, $\ce{AgCl}$ gets precipitated at last.
$$K_\mathrm{sp}(\ce{AgCl}) = [\ce{Ag+}][\ce{Cl-}]$$
Therefore, $[\ce{Cl-}]$ at equilibrium is $\pu{5E-2}.$
$$K_\mathrm{sp}(\ce{AgBr}) = [\ce{Ag+}][\ce{Br-}]$$
Therefore, $[\ce{Br-}]$ at equilibrium is $\pu{2.5E-4}.$ $[\ce{Ag+}]$ at equilibrium is $\pu{2E-9},$ which is already calculated in first step.
However, this doesn't match the answer key. Where am I wrong?