\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}{L}}
\chead{\raisebox{0.5cm}{\Huge Expected Value - Variable}} % (add title text if you want)
\rhead{\resizebox{!}{2cm}{L}}
\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.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/single.png}}} 
&$X = \{1,2,3,4,5,6\}$\\
&$P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = \tfrac{1}{6}$\\
&$E[X] = ?$\\
&\\
&\\
\end{tabular}

% -------- Abstract -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/abstract.png}}} 
&$E[X] = \sum x P(X=x)$\\
&$E[X] = \frac{1}{6}(1+2+3+4+5+6) $\\
&$E[X] = \frac{1}{6}(21)$\\
&$E[X] = \frac{21}{6}$\\
&$E[X] = 3.5$\\
&\\
\end{tabular}

% -------- Question -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/question.png}}} 
&$x = \{1, 2, 3, 4, 5, 6\}$\\
&$p(x) = kx$\\
&$k=?$\\
&$PDF=?$\\
&$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}}} 
&$X = \{1, 2, 3, 4, 5, 6\}$\\
&$P(x) = kx$\\
&$k=?$\\
&$PDF=?$\\
&$E(X)=?$\\
&\hrule\\
&\\
&$\sum_{x=1}^6 kx = k(1+2+3+4+5+6) = k \times 21 = 1 \Rightarrow k = \frac{1}{21}$\\
&\hrule\\
&\\
&$P(X=1) = \frac{1}{21} \times 1 = \frac{1}{21}$\\
&$P(X=2) = \frac{1}{21} \times 2 = \frac{2}{21}$\\
&$P(X=3) = \frac{1}{21} \times 3 = \frac{3}{21} = \frac{1}{7}$\\
&$P(X=4) = \frac{1}{21} \times 4 = \frac{4}{21}$\\
&$P(X=5) = \frac{1}{21} \times 5 = \frac{5}{21}$\\
&$P(X=6) = \frac{1}{21} \times 6 = \frac{6}{21} = \frac{2}{7}$\\
&\hrule\\
&\\
&$E(X) = \sum x  p(x) = \sum_{x=1}^6 x \left(\frac{x}{21}\right) = \frac{1}{21} \sum_{x=1}^6 x^2$\\
&\\
&$E(X) = \sum_{x=1}^6 x^2 = 1^2 + 2^2 + 3^2 + 4^2 + 5^2 + 6^2 = 91$\\
&\\
&$E(X) = \frac{91}{21} = \frac{13}{3} \approx 4.33$\\
\end{tabular}
\end{table}
\end{document}