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