40. Solving word problems