If x is not equal to 5 / B, then - bx-5 / A + x = 2 holds, then the square of A-B =?

If x is not equal to 5 / B, then - bx-5 / A + x = 2 holds, then the square of A-B =?

(a+x)/(-bx-5)=2
a+x=-2bx-10
x+2bx+a+10=0
(2b+1)x+(a+10)=0
So 2B + 1 = 0, a + 10 = 0
b=-1/2,a=-10
a^2-b^2=100-1/4=399/4