\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}{H}}
\chead{\raisebox{0.5cm}{\Huge PMF and CDF}} % (add title text if you want)
\rhead{\resizebox{!}{2cm}{H}}
\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}}} 
&$P_0 = P_1 = P_2 = 1/4$\\
&$X: \Omega \to \mathbb{R}$\\
&$X(1,1) = 1 + 1 = 2 = \Omega_2$\\
&$X(1,0) = 1 + 0 = 1 = \Omega_1$\\
&$X(0,1) = 0 + 1 = 1 = \Omega_1$\\
&$X(0,0) = 0 + 0 = 0 = \Omega_0$\\
&\\
\end{tabular}

% -------- Abstract -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/abstract.png}}} 
&$PMF$\\
&$P(X = 0) = |\Omega_0| \times P_0 = 1 \times 1/4 = 1/4$\\
&$P(X = 1) = |\Omega_1| \times P_1 = 2 \times 1/4 = 1/2$\\
&$P(X = 2) = |\Omega_2| \times P_2 = 1 \times 1/4 = 1/4$\\
&\hrule\\
&\\
&$CDF$\\
&$F(X = 0) = P(X = 0) = 1/4$\\
&$F(X = 1) = P(X = 0) + P(X = 1) = 3/4$\\
&$F(X = 2) = P(X = 0) + P(X = 1) + P(X = 2) = 1$\\
&\\
\end{tabular}

% -------- Question -------------------
\begin{tabular}{m{1.2in} m{4in}}
\multirow{5}{*}{\fbox{\includegraphics[width=1in]{images/question.png}}} 
&$P(X = x) = \frac{\binom{7}{x} \times \binom{3}{4 - x}}{\binom{10}{4}}, \quad x = 0, 1, 2, 3, 4$\\
&$PMF = ?$\\
&$CDF = ?$\\
\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}}} 
&$P(X = x) = \frac{\binom{7}{x} \times \binom{3}{4 - x}}{\binom{10}{4}}, \quad x = 0, 1, 2, 3, 4$\\
&$P(X = 0) = 1/210$\\
&$P(X = 1) = 1/10$\\
&$P(X = 2) = 3/10$\\
&$P(X = 3) = 1/6$\\
&$P(X = 4) = 0$\\
&\hrule\\
&\\
&$F(X=0) = P(X=0) = \frac{1}{210}$\\
&$F(X=1) = P(X=0)  + P(X=1) = \frac{22}{210}$\\
&$F(X=2) = P(X=0)  + P(X=1) + P(X=2) = \frac{85}{210}$\\
&$F(X=3) = P(X=0)  + P(X=1) + P(X=2) + P(X=3) = \frac{120}{210} = \frac{4}{7}$\\
&$F(X=4) = P(X=0)  + P(X=1) + P(X=2) + P(X=3) + P(X=4) = 1$\\
\end{tabular}
\end{table}
\end{document}