\(\left(đk:x\ne\pm1\right)\)
\(=\left(\dfrac{\sqrt{x}+2}{\left(\sqrt{x}+1\right)^2}-\dfrac{\sqrt{x}-2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right).\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
\(=\left(\dfrac{\left(\sqrt{x}+2\right)\left(\sqrt{x}-1\right)-\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}\right).\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
\(=\left(\dfrac{x-\sqrt{x}+2\sqrt{x}-2-\sqrt{x}+2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}\right).\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
\(=\dfrac{x}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)^2}.\dfrac{\sqrt{x}+1}{\sqrt{x}}\)
\(=\dfrac{\sqrt{x}}{x-1}\)