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