\documentclass[addpoints,12pt]{exam} % can add 'answers' option
\setlength{\parindent}{0mm}
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage{microtype}
\usepackage{tikz}

\newcommand{\blankunderline}[2]{\makebox[#1]{#2\enspace\hrulefill}}

\newcommand{\dueday}{Monday}
\newcommand{\duewhen}{10/7/19 at 11:59pm}
\newcommand{\hwnum}{1}
\newcommand{\classnumber}{Math 20C -- Swanson }
\newcommand{\classiteration}{Fall 2019}

\pagestyle{headandfoot}
\runningheadrule
\firstpageheader{\classnumber -- \classiteration}{}{Homework \hwnum}
\runningheader{\classnumber}
{Homework, Page \thepage\ of \numpages}
{Due \duewhen}
\firstpagefooter{}{}{}
\runningfooter{}{}{}

\begin{document}
\ 

\begin{center}
  \fbox{\parbox{3in}{\centering\large
  \classnumber -- \classiteration \\
  Homework \hwnum \\
  Due \dueday, \duewhen}}
\end{center}
\vspace{1cm}
%\blankunderline{0.8\textwidth}{Name:}
%\blankunderline{0.15\textwidth}{Section:}

\vspace{1cm}
\begin{itemize}
  \item The graded part of the homework is on WebAssign.
  \item The problems below are also assigned and you are responsible for doing them,
    but they will not be collected or graded.
\end{itemize}

\newpage

\begin{questions}
  \question Compute the vector $(x, y)$ with length $10$ that makes an
    angle $20^\circ$ counterclockwise from the $+x$ axis.
    
    \begin{solution}
      
    \end{solution}
    \newpage
  
  \question For each of the following vectors, determine its length and its angle
    (in degrees) counterclockwise from the $+x$ axis:
    \begin{enumerate}[(a)]
      \item $3\hat\imath + 4\hat\jmath$
      \item $-3\hat\imath + 4\hat\jmath$
      \item $3\hat\imath - 4\hat\jmath$
      \item $-3\hat\imath - 4\hat\jmath$
    \end{enumerate}
  
    \begin{solution}
      
    \end{solution}
    \newpage

  \question Let $A = (1, 3)$, $B = (7, -6)$, $C = (4, 2)$.
    \begin{enumerate}[(a)]
      \item Find the point $D$ so that $\overrightarrow{AB} = \overrightarrow{CD}$.
      \item On the line segment $\overline{AB}$, find the point two-thirds of the way
        from $A$ to $B$.
      \item Let $E, F, G, H$ represent points. Simplify each expression:
        \begin{enumerate}[(a)]
          \item $\overrightarrow{EF} + \overrightarrow{FG}$
          \item $\overrightarrow{EF} - \overrightarrow{EG}$
          \item $\overrightarrow{EF} + \overrightarrow{FG}
            + \overrightarrow{GH} + \overrightarrow{HE}$.
        \end{enumerate}
    \end{enumerate}
    \begin{solution}
      
    \end{solution}
    \newpage
\end{questions}
\end{document}