x over (x+3) -x over(x-3)=x^2+9 over X^2-9 solve for x and check answer

rationalize the denominator on the left side.

(x(x-3)-x(x+3))/(x^2-9)=(x^2+9)/(x^2-9)

or, if the denominator is not zero, that is x is NOT equal to +-3, then

x^2-3x-x^2-3x=x^2+9
x^2-6x+9=0
(x-3)^2=0
x=3 which is not allowed.
No solution.