The other tutor's answer is incorrect.
Find x and y in terms of a and b:
ax - by = a² + b²
2bx - ay = -a² + 3ab + 2b²
To eliminate y, multiply the first
equation by a and the second by -b
a²x - aby = a³ + ab²
-2b²x + aby = a²b - 3ab² - 2b³
--------------------------------------
(a²- 2b²)x = a³ + a²b - 2ab² - 2b³
(a²- 2b²)x = a²(a + b) - 2b²(a + b)
(a²- 2b²)x = (a + b)(a² - 2b²)
Divide both sides by (a² - 2b²)
x = a + b
Substitute in
ax - by = a² + b²
a(a + b) - by = a² + b²
a² + ab - by = a² + b²
-by = b² - ab
Divide through by -b
y = -b + a
y = a - b
(x, y) = (a+b, a-b)
Edwin