How can I solve this first order linear differential equation?

${y}^{\prime}=1-\frac{2}{x+y}$

I have tried turning it into an inexact differential equation, but I get an integration factor $\mu (x,y)$ and I don't know how to apply it.

${y}^{\prime}=1-\frac{2}{x+y}$

I have tried turning it into an inexact differential equation, but I get an integration factor $\mu (x,y)$ and I don't know how to apply it.