\documentclass{article}

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{tikz}


\begin{document}
\begin{enumerate}
    \item There are values of the constants
$A$ and $B$ so that the derivative of $Axe^x+Be^x$ is $xe^x$. Find
these values.
\item  Compute $\displaystyle\int_1^2 xe^x\,dx$.

\end{enumerate}
\end{document}