I have the following integral.

$\displaystyle

\int cos(x) - 2e^x + 3x^-1

$

So far I can work out the first and last terms to be, I did this by simplying splitting this up into 3 terms.

$\displaystyle

\int sin(x) - 2e^x + 3ln(x) + C

$

What I am unsure about is how to integrate the $\displaystyle -2e^x$