\(A=\dfrac{\sqrt{y}}{\sqrt{x}-\sqrt{y}}-\dfrac{\left(\sqrt{x}-\sqrt{y}\right)\left(x+\sqrt{xy}+y\right)}{x+y}\cdot\dfrac{\sqrt{x}\left(\sqrt{x}+\sqrt{y}\right)-\sqrt{y}\left(\sqrt{x}-\sqrt{y}\right)}{\left(x-y\right)\cdot\left(\sqrt{x}-\sqrt{y}\right)}\)
\(=\dfrac{\sqrt{y}}{\sqrt{x}-\sqrt{y}}-\dfrac{x+\sqrt{xy}+y}{x+y}\cdot\dfrac{x+\sqrt{xy}-\sqrt{xy}+y}{x-y}\)
\(=\dfrac{\sqrt{y}}{\sqrt{x}-\sqrt{y}}-\dfrac{x+\sqrt{xy}+y}{x-y}\)
\(=\dfrac{\sqrt{xy}+y-x-\sqrt{xy}-y}{x-y}=\dfrac{-x}{x-y}\)