the balanced equation for the above reaction is;
2AgNO₃ + BaCl₂ ==> 2AgCl + Ba(No₃)₂
stoichiometry of BaCl₂ to AgCl is 1:2
number of BaCl₂ moles reacted - 12.5 g / 208.23 g/mol = 0.06 mol
number of AgCl moles produced - 0.06 mol x 2 = 0.12 mol
Therefore mass of AgCl produced - 0.12 mol x 143.32 g/mol = 17.2 g