First-order nonlinear ordinary differential equation How to solve this differential equation:
$$x\frac{dy}{dx} = y + x\frac{e^x}{e^y}?$$
I tried to rearrange the equation to the form $f\left(\frac{y}{x}\right)$ but I couldn't thus I couldn't use $v = \frac{y}{x}$ to solve it.

$x\dfrac{dy}{dx}=y+x\dfrac{e^x}{e^y}$
$x\dfrac{dy}{dx}=y+xe^{x-y}$
Let $u=y-x$ ,
Then $y=u+x$
$\dfrac{dy}{dx}=\dfrac{du}{dx}+1$
$\therefore x\left(\dfrac{du}{dx}+1\right)=u+x+xe^{-u}$
$x\dfrac{du}{dx}+x=u+x+xe^{-u}$
$x\dfrac{du}{dx}=xe^{-u}+u$
$(xe^{-u}+u)\dfrac{dx}{du}=x$
Let $v=x+ue^u$ ,
Then $x=v-ue^u$
$\dfrac{dx}{du}=\dfrac{dv}{du}-(u+1)e^u$
$\therefore e^{-u}v\left(\dfrac{dv}{du}-(u+1)e^u\right)=v-ue^u$
$e^{-u}v\dfrac{dv}{du}-(u+1)v=v-ue^u$
$e^{-u}v\dfrac{dv}{du}=(u+2)v-ue^u$
$v\dfrac{dv}{du}=(u+2)e^uv-ue^{2u}$
This belongs to an Abel equation of the second kind.
Let $t=(u+1)e^u$ ,
Then $u=W(et)-1$
$\dfrac{dv}{du}=\dfrac{dv}{dt}\dfrac{dt}{du}=(u+2)e^u\dfrac{dv}{dt}$
$\therefore(u+2)e^uv\dfrac{dv}{dt}=(u+2)e^uv-ue^{2u}$
$v\dfrac{dv}{dt}=v-\dfrac{ue^u}{u+2}$
$v\dfrac{dv}{dt}-v=-\dfrac{t(W(et)-1)}{W(et)(W(et)+1)}$
This belongs to an Abel equation of the second kind in the canonical form.
Please follow the method in https://arxiv.org/ftp/arxiv/papers/1503/1503.05929.pdf
