\documentclass[12pt]{article}
\usepackage{amsmath, amssymb, graphicx, array, fancyhdr, unicode-math, multirow}

\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\sd}{SD}
\DeclareMathOperator{\Pois}{Pois}
\DeclareMathOperator{\Bin}{Bin}
\DeclareMathOperator{\NegBin}{NegBin}
\DeclareMathOperator{\sech}{sech}

% Text: Calibri, all bold
\setmainfont{Calibri}
\renewcommand{\seriesdefault}{b}

% Math: choose a math font and visually embolden it
\setmathfont{TeX Gyre Termes Math}                  % base math font
\setmathfont[FakeBold=1.9]{TeX Gyre Termes Math}    % embolden; adjust 1.6–2.4

% header
\pagestyle{fancy}
\fancyhf{}
\lhead{\resizebox{!}{2cm}{D}}
\chead{\raisebox{0.5cm}{\Huge Counting}} % (add title text if you want)
\rhead{\resizebox{!}{2cm}{D}}
\setlength{\headheight}{2.5cm}
\setlength{\headsep}{12pt} % space between header and body

\begin{document}
\thispagestyle{fancy}

% -------- PAGE 1 --------
\begin{table}[h!]
  \renewcommand{\arraystretch}{1.2}

  % -------- Single -------------------
\begin{tabular}{
    m{1.0in}
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
    |
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
    >{\centering\arraybackslash}m{0.4in}
}
    \multirow{9}{*}{\centering\includegraphics[width=1in]{images/single.png}} 

     & $Y_1$ 
     & \includegraphics[width=0.5in]{images/Vase_A.png} 
     & \includegraphics[width=0.5in]{images/Vase_A_B.png} 
     & \includegraphics[width=0.5in]{images/Vase_A_B_C.png} 
     & $X_1$ 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     \\

     & $Y_2$ 
     & \includegraphics[width=0.5in]{images/Vase_A.png} 
     & \includegraphics[width=0.5in]{images/Vase_A_C.png} 
     & \includegraphics[width=0.5in]{images/Vase_A_C_B.png} 
     & $X_2$ 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
    \\

     & $Y_3$ 
     & \includegraphics[width=0.5in]{images/Vase_B.png} 
     & \includegraphics[width=0.5in]{images/Vase_B_A.png} 
     & \includegraphics[width=0.5in]{images/Vase_B_A_C.png} 
     & $X_3$ 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
    \\


     & $Y_4$ 
     & \includegraphics[width=0.5in]{images/Vase_B.png} 
     & \includegraphics[width=0.5in]{images/Vase_B_C.png} 
     & \includegraphics[width=0.5in]{images/Vase_B_C_A.png} 
     & $X_4$ 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
    \\

     & $Y_5$ 
     & \includegraphics[width=0.5in]{images/Vase_C.png} 
     & \includegraphics[width=0.5in]{images/Vase_C_B.png} 
     & \includegraphics[width=0.5in]{images/Vase_C_B_A.png} 
     & $X_5$ 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     \\

     & $Y_6$ 
     & \includegraphics[width=0.5in]{images/Vase_C.png} 
     & \includegraphics[width=0.5in]{images/Vase_C_A.png} 
     & \includegraphics[width=0.5in]{images/Vase_C_A_B.png} 
     & $X_6$ 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
    \\

     &  
     &  
     &  
     &  
     & $X_7$ 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_front.png} 
    \\


     &  
     &  
     &  
     &  
     &  $X_8$ 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
     & \includegraphics[width=0.5in]{images/coin_back.png} 
    \\
    
   &\\
  \end{tabular}
  % -------- Abstract -------------------
\begin{tabular}{
  m{1.2in}
  >{\centering\arraybackslash}m{2in}
  >{\centering\arraybackslash}m{2in}
}
    \multirow{5}{*}{\centering\includegraphics[width=1in]{images/abstract.png}} 
    & $ N = \{A,B,C\} $ & $ M = \{T,H\}  $ \\
& \raisebox{1.0ex}{$Y =$} {\includegraphics[width=0.25in]{images/select.png}}\raisebox{1.0ex}{(N,3)}
& \raisebox{1.0ex}{$X =$} {\includegraphics[width=0.25in]{images/Pull.png}}\raisebox{1.0ex}{(M,3)}\\
&|Y| = |N| x (|N|-1) x (|N|-2)
&|X| = |M| x |M| x |M|\\
&|Y| = 3 x 2 x 1 = 6
&|X| = 2 x 2 x 2 = 8\\
&\\
  \end{tabular}

  % -------------------- Question --------------
  \begin{tabular}{m{1.2in} m{4in}}
    \multirow{1}{*}{\centering\includegraphics[width=1in]{images/question.png}} 
   & \\
   & S = \{1, 2, 3, ... 10\}  \\
   & \raisebox{1.0ex}{|}{\includegraphics[width=0.25in]{images/Select.png}}\raisebox{1.0ex}{(S,2)|=?}\\
\end{tabular}


\end{table}

% second page
\newpage
\thispagestyle{fancy}
  \begin{tabular}{m{1.2in} m{4in}}
    \multirow{1}{*}{\centering\includegraphics[width=1in]{images/key.png}} 
    &\\
    & S = \{1, 2, 3, ... 10\}  \\
  &\raisebox{1.0ex}{|}{\includegraphics[width=0.25in]{images/Select.png}}\raisebox{1.0ex}{(S,2)|=|S| x (|S|-1) = 10 x 9 = 90}\\
\end{tabular}



\end{document}