x+y=a+b ax-by=a^2-b^2 sovle the followning system of linear equation
It is quite simple you first write x in terms of y from first equation and put x in second equation and solve for y . Then , you will get y in terms of a and b , then put y in any of the two equation and get x .