Ta có: \(B=\frac{9\sqrt{a}-\sqrt{25a}+\sqrt{4a^3}}{a^2+2a}\)
\(=\frac{9\sqrt{a}-5\sqrt{a}+2a\sqrt{a}}{a\left(a+2\right)}\)
\(=\frac{\sqrt{a}\left(4+2a\right)}{a\left(a+2\right)}=\frac{2\sqrt{a}\left(a+2\right)}{\sqrt{a}\cdot\sqrt{a}\cdot\left(a+2\right)}\)
\(=\frac{2}{\sqrt{a}}\)
Ta có: \(C=\left(\frac{x-\sqrt{x}+2}{x-\sqrt{x}-2}-\frac{x}{x-2\sqrt{x}}\right):\frac{1-\sqrt{x}}{2-\sqrt{x}}\)
\(=\left(\frac{\sqrt{x}\left(x-\sqrt{x}+2\right)}{\sqrt{x}\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}-\frac{x\left(\sqrt{x}+1\right)}{\sqrt{x}\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}\right)\cdot\frac{2-\sqrt{x}}{1-\sqrt{x}}\)
\(=\frac{x\sqrt{x}-x+2\sqrt{x}-x\sqrt{x}-x}{\sqrt{x}\cdot\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}\cdot\frac{\sqrt{x}-2}{\sqrt{x}-1}\)
\(=\frac{-2x+2\sqrt{x}}{\sqrt{x}\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(=\frac{-2\sqrt{x}\left(\sqrt{x}-1\right)}{\sqrt{x}\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}\)
\(=\frac{-2}{\sqrt{x}+1}\)