Solving Word Problems using a system with 2 variables