The integral is .
Solve the integral using substitution method.
\Substitute .
Apply exponential on each side.
\.
Apply derivative on each side with respect to .
.
Substitute and
in
.
Find the integral using integration by parts.
\Formula for integration by parts:.
Consider and
Apply derivative on each side with respect to .
.
Consider .
Apply integral on each side.
\.
Substitute ,
,
and
in
.
Again apply integration by parts.
\Substitute and
.
.