\(D=\left(\dfrac{\sqrt{x}}{\sqrt{x}+1}+\dfrac{3\sqrt{x}+1}{x-1}\right):\dfrac{\sqrt{x}+2}{\sqrt{x}-1}\left(x\ge0;x\ne1\right)\\ D=\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)+3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\cdot\dfrac{\sqrt{x}-1}{\sqrt{x}+2}\\ D=\dfrac{\left(\sqrt{x}+1\right)^2}{\sqrt{x}+1}\cdot\dfrac{1}{\sqrt{x}+2}=\dfrac{\sqrt{x}+1}{\sqrt{x}+2}\)