(a - b) + (3√5)i = (√5) + (a+b)i
Two complex numbers are equal if and only if the real parts are equal and the imaginary parts are equal.
Assuming that a and b are real numbers, we then have:
a - b = √5
a + b = 3√5
So, a2 - b2 = (a - b)(a + b) = (√5)(3√5) = 15