x+y = a-b
ax-by= a^2 + b^2 
solve for x and y by cross multiplication

  • -1
What are you looking for?