Solve the integral $\int \frac{e^{2x}(2x+1)}{(x+1)^2}$ can you help me with this excercises: 
$$\int \frac{e^{2x}(2x+1)}{(x+1)^2}$$
I  can not get to the answer book:
the answer is $$\frac{e^{2x}}{x+1}$$
How?

HINT:
$$\int\dfrac{e^{2x}\{2(x+1)-1\}}{(x+1)^2}dx=\int\left(\dfrac1{1+x}\cdot\dfrac{d(e^{2x})}{dx}+e^{2x}\cdot\dfrac{d\left(\dfrac1{1+x}\right)}{dx}\right)dx$$
$$\dfrac{d(e^{ax}f(x))}{dx}=?$$
