Integrate the following $\int\frac{x+1}{x(1+xe^x)^2}dx$
I tried to multiply the numerator and denominator by $e^{-2x}$
Getting the following simplification $\int\frac{e^{-2x}(x+1)}{x(e^{-x}+x)^2}dx$
My next step is as follow $\int\frac{e^{-2x}(x+1)}{x^3(\frac{e^{-x}}{x}+1)^2})dx$ but could not proceed from here