This is the general form of the integral:
Here is another method, without using integration by parts:
1. One of the functions in the product should be easy to differentiate and one should be easy to integrate.
2. By integrating and differentiating the correct functions, the new integral is reduced to something easier to integrate.