Find du and v. Treat a and n as constants.

Stated that;
[tex]u=x^n[/tex]Then, differentiating u with respect to x using the power rule where n is a constant is;
[tex]\begin{gathered} du=(n\times1)x^{n-1} \\ du=nx^{n-1} \end{gathered}[/tex]Also,
[tex]dv=e^{ax}[/tex]Then, we can find v by integrating, we have;
[tex]\begin{gathered} \int dv=\int e^{ax}dx \\ v=\frac{1}{a}e^{ax} \\ \end{gathered}[/tex]