Solving Word Problems With Variables