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