\(\left[\dfrac{x^2-y^2}{xy}-\dfrac{1}{x+y}.\left(\dfrac{x^2}{y}-\dfrac{y^2}{x}\right)\right]:\dfrac{x-y}{x}\)
= \(\left(\dfrac{x^2-y^2}{xy}-\dfrac{1}{x+y}\cdot\dfrac{x^3-y^3}{xy}\right)\cdot\dfrac{x}{x-y}\)
= \(\dfrac{\left(x^2-y^2\right)\left(x+y\right)-x^3+y^3}{xy\left(x+y\right)}\cdot\dfrac{x}{x-y}\)
= \(\dfrac{xy\left(x-y\right)}{y\left(x+y\right).\left(x-y\right)}\)
= \(\dfrac{x}{x+y}\)