a: Ta có: \(B=\dfrac{2\sqrt{x}-9}{x-5\sqrt{x}+6}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}-\dfrac{2\sqrt{x}+1}{3-\sqrt{x}}\)
\(=\dfrac{2\sqrt{x}-9-x+9+2x-4\sqrt{x}+\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)
\(=\dfrac{x-\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}-3}\)