\documentclass{article}

\usepackage{lipsum} %to generate dummy text. you can delete.

\RequirePackage{amsmath}
\RequirePackage{amscd}
\RequirePackage{amsfonts}
\RequirePackage{amsthm}
\RequirePackage[inline]{enumitem}
\RequirePackage[margin=1in]{geometry}

%for font.  see https://tex.stackexchange.com/a/272756
\RequirePackage{tgpagella}
\RequirePackage[utf8]{inputenc} 
\RequirePackage[T1]{fontenc}
\RequirePackage{amssymb}
\RequirePackage{microtype}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{<your title>}
\rhead{<your name(s)>}


\title{<your title>}
\author{<your name(s)>}
\date{\today}

\begin{document}
\maketitle
\begin{abstract}
<your abstract>
\end{abstract}

\section{<title of section>}

\lipsum[1]

\subsection{<title of subsection>}

\lipsum[2-5]

\subsection{<title of subsection>}

\lipsum[6-7]

\section{<title of section>}

\lipsum[1]

\subsection{<title of subsection>}

\lipsum[2-5]

\end{document}