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