a: Ta có: \(A=\dfrac{2\sqrt{x}-12}{x-2\sqrt{x}-3}+\dfrac{\sqrt{x}}{2\left(\sqrt{x}+1\right)}-\dfrac{\sqrt{x}-6}{2\left(\sqrt{x}-3\right)}\)
\(=\dfrac{4\sqrt{x}-24+x-3\sqrt{x}-x+5\sqrt{x}+6}{2\left(\sqrt{x}+1\right)\left(\sqrt{x}-3\right)}\)
\(=\dfrac{3}{\sqrt{x}+1}\)