Solving Word Problems with Equations