First we need to <em>identify the limiting reactant</em>:
We have:
0.20 M * 50.0 mL = 10 mmol of AgNO₃
0.10 M * 40.0 mL = 4 mmol of K₂CrO₄
If 4 mmol of K₂CrO₄ were to react completely, it would require (4*2) 8 mmol of AgNO₃. There's more than 8 mmol of AgNO₃ so AgNO₃ is the excess reactant. <em><u>That makes K₂CrO₄ the limiting reactant</u></em>.
Now we <u>calculate the mass of Ag₂CrO₄ formed</u>, using the <em>limiting reactant</em>: