\(=\sqrt{\frac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}+1\right)^2}}=\frac{\left|\sqrt{x}-1\right|}{\sqrt{x}+1}\)
\(\sqrt{\frac{x-2\sqrt{x}+1}{x+2\sqrt{x}+1}}=\frac{\sqrt{\left(\sqrt{x}-1\right)^2}}{\sqrt{\left(\sqrt{x}+1\right)^2}}=\frac{\sqrt{\sqrt{x}-1}}{\sqrt{\sqrt{x}+1}}\)