\(B=\frac{2\left(x+4\right)}{x-3\sqrt{x}-4}+\frac{\sqrt{x}}{\sqrt{x}+1}-\frac{8}{\sqrt{x}-4}\)
\(B=\frac{2\left(x+4\right)+\sqrt{x}\left(\sqrt{x}-4\right)-8\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-4\right)}\)
\(B=\frac{2x+8+x-4\sqrt{x}-8\sqrt{x}-8}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-4\right)}\)
\(B=\frac{3x-12\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-4\right)}\)
\(B=\frac{3\sqrt{x}\left(\sqrt{x}-4\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-4\right)}\)
\(B=\frac{3\sqrt{x}}{\sqrt{x}+1}\)
vậy \(B=\frac{3\sqrt{x}}{\sqrt{x}+1}\)