\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}{D}} 
\chead{%
  \raisebox{0.2cm}{%
    \shortstack{\Huge Cumulative \\ \Huge Distribution Function}%
  }%
}
\rhead{\resizebox{!}{1.5cm}{D}}

\setlength{\headheight}{1cm}
\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=5$\\
&$K=3$\\
&$n=2$\\
&\\
\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}}} 
&$P(X=k)={\displaystyle\binom{3}{k}\displaystyle\binom{2}{2-k}}/{\displaystyle\binom{5}{2}}={\displaystyle\binom{3}{k}\displaystyle\binom{2}{2-k}}/10$\\
&\\
&$P(X=0)={\displaystyle\binom{3}{0}\displaystyle\binom{2}{2}}/{10}={1}/{10}=0.10$\\
&\\
&$P(X=1)={\displaystyle\binom{3}{1}\displaystyle\binom{2}{1}}/{10}={6}/{10}=0.60$\\
&\\
&$P(X=2)={\displaystyle\binom{3}{2}\displaystyle\binom{2}{0}}/{10}={3}/{10}=0.30$\\
&$F(0)=0.10$\\
&$F(1)=0.10+0.60=0.70$\\
&$F(2)=1$\\
&\\
\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}}} 
&$P(X=-1.9)=p$\\
&$P(X=0)=0.1$\\
&$P(X=2)=0.3$\\
&$P(X=3)=p$\\
&$P(X=4)=0.4 - p$\\
&$CDF=?$\\
\end{tabular}
\end{table}


% second page
\newpage
\thispagestyle{fancy}
\par\noindent\rule{\linewidth}{1.2pt}\par
\begin{table}[h!]
% -------- Answer -------------------
\begin{tabular}{m{1.2in} m{4in}}
\\
\multirow{4}{*}{\fbox{\includegraphics[width=1in]{images/key.png}}} 
&$P(X=-1.9)=p$\\
&$P(X=0)=0.1$\\
&$P(X=2)=0.3$\\
&$P(X=3)=p$\\
&$P(X=4)=0.4 - p$\\
&$CDF=?$\\
&\hrule\\
&\\
&$p + 0.1 + 0.3 + p + (0.4 - p) = 1$\\
&$p + 0.8 = 1$\\
&$p = 0.2$\\
&\hrule\\
&\\
&$P(X=-1.9)=0.2$\\
&$P(X=0)=0.1$\\
&$P(X=2)=0.3$\\
&$P(X=3)=0.2$\\
&$P(X=4)=0.4 - 0.2 = 0.2$\\
&\hrule\\
&\\
&$F(x<-1.9) = 0$\\
&$F(-1.9 \le x < 0)=0.2$\\
&$F(0 \le x < 2)=0.3$\\
&$F(2 \le x < 3)=0.6$\\
&$F(3 \le x < 4)=0.8$\\
&$F(x \ge 4)=1$\\
\end{tabular}
\end{table}
\end{document}