i forgot how already, but I think if you use complex numbers,
you can solve it too........ you do the by parts, I do the complex
numbers, then compare answer?
edit: I used complex numbers (euler's formula) to solve, my final
answer is
1/2 e^x (cos x + sin x) 
Differentiating it gives you the answer above, so I'm pretty sure
it is correct. I shall now type it out on MS word, and post a
screenshot of it here