Solving Word Problems in One Variable