Q. Find the general solution of (x+y*e^y)*dy/dx = 1.

I'm having trouble solving this. I know you have to make this D.E. linear by interchanging dx and dy. So you have to solve for x(y) and treat y as the independent variable and x as the dependent variable, but I don't know how to proceed from here. Any guidance would be greatly appreciated.