Calculate the derivative of $y$ with respect to $x$, if $x^{2} y + 2 x y^{2} = x + y$.

$\displaystyle \frac{dy}{dx} =$