\documentclass[12pt,oneside]{article}

% This package simply sets the margins to be 1 inch.
\usepackage[margin=1in]{geometry}

% These packages include nice commands from AMS-LaTeX
\usepackage{amssymb,amsmath,amsthm}

% Make the space between lines slightly more
% generous than normal single spacing, but compensate
% so that the spacing between rows of matrices still
% looks normal.  Note that 1.1=1/.9090909...
\renewcommand{\baselinestretch}{1.1}
\renewcommand{\arraystretch}{.91}

% Define an environment for exercises.
\newenvironment{exercise}[1]{\vspace{.1in}\noindent\textbf{Exercise #1 \hspace{.05em}}}{}

% define shortcut commands for commonly used symbols
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\N}{\mathbb{N}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

% If you use Overleaf, the name of the project will be determined by
% what you enter as the document title.
\title{Math 290 Homework Template}

\begin{flushright}
\textsc{Your Name Here}  \\
Math 290 Sec ???\\
Date ???
\end{flushright}

\begin{center}
\textsf{Assignment ???} \\
\textsf{Exercises: ?????}
\end{center}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}

\begin{proof}
The proof goes here.
\end{proof}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}

\begin{proof}[Solution]
The explanation or solution goes here.
\end{proof}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{exercise}{???}
The statement of the exercise goes here.
\end{exercise}

\begin{proof}
The proof goes here.
\end{proof}


%---------------------------------
% Don't change anything below here
%---------------------------------


\end{document}
