Solve for x and y:
x+y=a+b,ax−by=a2−b2.
x+y=a+b.....(1) ax−by=a2−b2....(2)
multiplying by b in (1)
ax+by=ab+b2....(3)
subtracting equ (2) from (3)then we get
x(a+b)=a(b+a)
x=a
put the value of x in (1)
x+y=a+ba+y=a+by=b
so x=a and y=b