\(A=\left(\dfrac{x+2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}-\dfrac{2\sqrt{x}}{\sqrt{x}+1}+\dfrac{\sqrt{x}-1}{\sqrt{x}-2}\right)\cdot\dfrac{\sqrt{x}+2-\sqrt{x}+3}{\sqrt{x}+2}\)
\(=\dfrac{x+2-2x+4\sqrt{x}+x-1}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}\cdot\dfrac{5}{\sqrt{x}+2}\)
\(=\dfrac{5\left(4\sqrt{x}+1\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)\left(\sqrt{x}+2\right)}\)