\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{}
\renewcommand{\headrulewidth}{0pt}   % <-- removes first line

\lhead{\resizebox{!}{1.5cm}{A}} 
\chead{%
  \raisebox{0.2cm}{%
    \shortstack{\Huge Expected Value \& Variance\\ \Huge Binomial Distribution}%
  }%
}
\rhead{\resizebox{!}{1.5cm}{A}}

\setlength{\headheight}{2.5cm}
\setlength{\headsep}{12pt}

\begin{document}
\par\noindent\rule{\linewidth}{1.2pt}\par
\thispagestyle{fancy}

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

% -------- Single -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{4}{*}{\fbox{\includegraphics[width=1in]{images/single.png}}} 
&$n=6$\\
&$p=\tfrac12$\\
&\\
&\\
&\\
&\\
\end{tabular}
\par\noindent\rule{\linewidth}{1.2pt}\par
% -------- Abstract -------------------
\begin{tabular}{m{1.2in} m{4in}}
\\
\multirow{4}{*}{\fbox{\includegraphics[width=1in]{images/abstract.png}}} 
&$E[X]=np=6\cdot\frac12=\boxed{3}$\\
&\hrule\\
&\\
&$\Var(X)=np(1-p)=3\cdot\frac12=\boxed{\frac32}$\\
&\hrule\\
&\\
&$E[X^2]=\Var(X)+\bigl(E[X]\bigr)^2$\\
&$E[X^2]=\frac32 + 3^2$\\
&$E[X^2]=\frac32 + 9$\\
&$E[X^2]=\boxed{\frac{21}{2}}$\\
&\\
\end{tabular}
\par\noindent\rule{\linewidth}{1.2pt}\par
% -------- Question -------------------
\begin{tabular}{m{1.2in} m{4in}}
\\
\multirow{4}{*}{\fbox{\includegraphics[width=1in]{images/question.png}}} 
&$n=72$\\
&$p=\tfrac16$\\
&$E[X]=?$\\
\end{tabular}
\end{table}


% second page
\newpage
\thispagestyle{fancy}
\begin{table}[h!]
% -------- Answer -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/key.png}}} 
&$n=72$\\
&$p=\tfrac16$\\
&$E[X]=?$\\
&\hrule\\
&\\
&$E[X]=np=72\cdot\frac16=12$\\
&$Var(X)=np(1-p)=12\cdot\frac56=10$\\
&\hrule\\
&\\
&$E[X^2]=\Var(X)+\bigl(E[X]\bigr)^2$\\
&$E[X^2]=10 + 12^2$\\
&$E[X^2]=10 + 144$\\
&$E[X^2]=\boxed{154}$\\
\end{tabular}
\end{table}



\end{document}