Ta có: \(B=\dfrac{x\sqrt{y}-y\sqrt{x}}{\sqrt{xy}}+\dfrac{x-y}{\sqrt{x}-\sqrt{y}}\)
\(\Leftrightarrow B=\dfrac{\sqrt{xy}\left(\sqrt{x}-\sqrt{y}\right)}{\sqrt{xy}}+\dfrac{\left(\sqrt{x}+\sqrt{y}\right)\left(\sqrt{x}-\sqrt{y}\right)}{\sqrt{x}-\sqrt{y}}\)
\(\Leftrightarrow B=\sqrt{x}-\sqrt{y}+\sqrt{x}+\sqrt{y}\)
\(\Leftrightarrow B=2\sqrt{x}\)