I hope I can help you understand this process as well as answer your question.
25.0 x
AgNO3 + NaCl = AgCl + NaNO3
169.87 143.32
x = (143.3 X 5)/ 169.87 = 21.09g AgCl
This requires writing a balanced equation and some simple algebra (cross-multiplying and solving the equation).