First seperate it into the sum of integrals.
So you have (after dividing, and changing 1/e^x to e^(-x)) 
int(e^(3x))dx - int(e^x)dx + int(e^(-x))dx
Now it's simple substitutions.  For the first one:  
int(e^(3x))dx 
let u=3x so (1/3)du = dx
so you have (1/3)int(e^u)du which is equal to (1/3)*e^(3x) or (e^(3x))/3
next you have:
int(e^x)dx which is simply e^x
and lastly you have:
int(e^(-x))dx
let u = -x
-du = dx
so it is -int(e^u)du which is -e^(-x)
So now to put it back together as 
((e^(3x))/3) - (e^x) - (e^(-x))
Now if you want to simplify it further you can look at this.  The definition of the hyperbolic cosine funcion is (e^x-e^(-x))/2 so ((e^x) - (e^(-x))) is equal to two times the hyperbolic cosing function.
So in the simplest form:
((e^(3x))/3) - 2cosh(x)