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