\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}
\begin{document}

\parindent=0pt

QUESTION

Find $\ds\int x\exp(x^2)\,dx$.

\bigskip

ANSWER

$\ds\int xe^{x^2}\,dx=\frac{1}{2}e^{x^2}+c$




\end{document}
