\(B=\dfrac{\left(\sqrt{x}+1\right)^2+\sqrt{x}\left(\sqrt{x}-1\right)+\sqrt{x}}{x-1}:\dfrac{\left(\sqrt{x}+1\right)^2-\left(\sqrt{x}-1\right)^2}{x-1}\)
\(=\dfrac{x+2\sqrt{x}+1+x-\sqrt{x}+\sqrt{x}}{x-1}\cdot\dfrac{x-1}{x+2\sqrt{x}+1-x+2\sqrt{x}-1}\)
\(=\dfrac{2x+2\sqrt{x}+1}{4\sqrt{x}}\)
\(B=\left(\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}}{\sqrt{x}+1}-\dfrac{\sqrt{x}}{1-\sqrt{x}}\right):\left(\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{1-\sqrt{x}}{\sqrt{x}+1}\right)\)
\(B=\left(\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}}{x-1}+\dfrac{\sqrt{x}}{\sqrt{x}+1}\right):\left[\dfrac{\left(\sqrt{x}+1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}-\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\right]\)
\(B=\left[\dfrac{\left(\sqrt{x}+1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}+\dfrac{\sqrt{x}\left(\sqrt{x}-1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}+\dfrac{\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\right]:\dfrac{x+2\sqrt{x}+1-x+2\sqrt{x}-1}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(B=\dfrac{x+2\sqrt{x}+\sqrt{x}+1+x-\sqrt{x}}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}:\dfrac{4\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(B=\dfrac{2x+2\sqrt{x}+1}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\cdot\dfrac{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}{4\sqrt{x}}\)
\(B=\dfrac{2x+2\sqrt{x}+1}{4\sqrt{x}}\)