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