\(\frac{1}{x-\sqrt{x}}+\frac{\sqrt{x}}{\sqrt{x}-1}\div\frac{2}{x-1}+\frac{1}{\sqrt{x}+1}.\)
=\(\left(\frac{1}{\sqrt{x}\left(\sqrt{x}-1\right)}+\frac{\sqrt{x}}{\sqrt{x}-1}\right)\div\frac{2}{\left(\sqrt{x}-1\right)\times\left(\sqrt{x}+1\right)}+\frac{1}{\sqrt{x}+1}\)
\(=\left(\frac{1+x}{\sqrt{x}\left(\sqrt{x}-1\right)}\right)\div\frac{2+\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\times\left(\sqrt{x}+1\right)}\)
\(=\frac{1+x}{\sqrt{x}\times\left(\sqrt{x}-1\right)}\times\frac{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}+1}\)
\(=\frac{\left(1+x\right)\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}{\sqrt{x}\times\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\frac{1+x}{\sqrt{x}}\)