ta có : \(A=\dfrac{x+3+2\sqrt{x^2-9}}{2x-6+\sqrt{x^2-9}}=\dfrac{\sqrt{x+3}\left(\sqrt{x+3}+2\sqrt{x-3}\right)}{\sqrt{x-3}\left(2\sqrt{x-3}+\sqrt{x+3}\right)}=\dfrac{\sqrt{x+3}}{\sqrt{x-3}}\)
ta có : \(B=\dfrac{x^2+5x+6+x\sqrt{9-x^2}}{3x-x^2+\left(x+2\right)\sqrt{9-x^2}}=\dfrac{\left(x+2\right)\left(x+3\right)+x\sqrt{ 9-x^2}}{x\left(3-x\right)+\left(x+2\right)\sqrt{9-x^2}}\)
\(=\dfrac{\sqrt{x+3}\left(\left(x+2\right)\sqrt{x+3}+x\sqrt{3-x}\right)}{\sqrt{3-x}\left(x\sqrt{3-x}+\left(x+2\right)\sqrt{x+3}\right)}=\dfrac{\sqrt{x+3}}{\sqrt{3-x}}\)