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