\(B=\left(\frac{\left(\sqrt{x}+1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}-\frac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}-\frac{8\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\right):\frac{\sqrt{x}-x-3-\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(B=\frac{x+2\sqrt{x}+1-x+2\sqrt{x}-1-8\sqrt{x}}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}.\frac{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}{-x-4}=\frac{-4\sqrt{x}}{-x-4}=\frac{4\sqrt{x}}{x+4}\)
dk: x>=0 và x khác 1