\(=\left(\frac{6-\sqrt{x}+2\left(\sqrt{x}-2\right)}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}\right):\frac{\sqrt{x}+1}{\sqrt{x}-2}\)
\(=\left(\frac{6-\sqrt{x}+2\sqrt{x}-4}{\left(\sqrt{x}-2\right)\left(\sqrt{x}+2\right)}\right):\frac{\sqrt{x}+1}{\sqrt{x}-2}\)
\(=\frac{2+\sqrt{x}}{\left(\sqrt{x}+2\right)\left(\sqrt{x}-2\right)}.\frac{\sqrt{x}-2}{\sqrt{x}+1}=\frac{1}{\sqrt{x}+1}\)