The equations may be written as
ax + by = a - b ..............(i)
bx - ay = a + b ..............(ii)
Multiplying (i) by a and (ii) by b, we get:
a2x + aby = a2 - ab .................(iii)
b2x - aby = ab + b2 ...................(iv)
On adding (iii) and (iv), we get:
(a2 + b2)x = a2 + b2
Putting x = 1 in (i), we get:
(a × 1) + by = a - b
⇒ a + by = a - b
⇒ by = - b ⇒ y = - 1
∴ x = 1 and y = - 1 is the required solution.