Ta có: \(A=\left(\dfrac{x+2\sqrt{x}-7}{x-9}+\dfrac{\sqrt{x}-1}{3-\sqrt{x}}\right):\left(\dfrac{1}{\sqrt{x}+3}-\dfrac{1}{\sqrt{x}-1}\right)\)
\(=\dfrac{x+2\sqrt{x}-7-\left(\sqrt{x}-1\right)\left(\sqrt{x}+3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}:\dfrac{\sqrt{x}-1-\sqrt{x}-3}{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}\)
\(=\dfrac{x+2\sqrt{x}-7-x-2\sqrt{x}+3}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}\cdot\dfrac{\left(\sqrt{x}+3\right)\left(\sqrt{x}-1\right)}{-4}\)
\(=\dfrac{-4\cdot\left(\sqrt{x}-1\right)}{-4\left(\sqrt{x}+3\right)}\)
\(=\dfrac{\sqrt{x}-1}{\sqrt{x}+3}\)