Make substitutions in the integration by parts formula and simplify.

For integral by parts
Your exercise inform:
Therefore
[tex]\begin{gathered} u=x^n \\ v=\frac{1}{a}\cdot e^{ax} \\ du=nx^{n-1} \end{gathered}[/tex]Applying the formula
[tex]\begin{gathered} uv-\int vdu \\ x^n\cdot\frac{1}{a}\cdot e^{ax}-\int \frac{1}{a}\cdot e^{ax}\cdot nx^{n-1} \end{gathered}[/tex]Answer:
[tex](x^n\cdot\frac{1}{a}\cdot e^{ax})-\int (\frac{1}{a}\cdot e^{ax}\cdot nx^{n-1})[/tex]