\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}{K}} 
\chead{%
  \raisebox{0.2cm}{%
    \shortstack{\Huge Geometric\\\Huge Random Variable}%
  }%
}
\rhead{\resizebox{!}{1.5cm}{K}}

\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}}} 
&$p = 0.25$\\
&$X = \{1,2,3,\dots\}$\\
&$PMF=?$\\
&$E[X]=?$\\
&\\
\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=x) = (1-p)^{x-1}p$\\
&$P(X=1) = 0.25$\\
&$P(X=2) = 0.75(0.25) = 0.1875$\\
&$P(X=3) = 0.75^2(0.25) = 0.1406$\\
&\hrule\\
&\\
&$E[X] = 1/p = 1/0.25 = \boxed{4}$\\
&\\
\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=0.75$\\
&$X = \{1,2,3....\}$\\
&$P(X\le3)=?$\\
\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=0.75$\\
&$X = \{1,2,3....\}$\\
&$P(X\le3)=?$\\
&\hrule\\
&\\
&$P(X\le3)= 1 - P(X>3)$\\
&$P(X\le3)= 1 - (1-p)^3$\\
&$P(X\le3)= 1 - (0.25)^3$\\
&$P(X\le3)= 1 - 0.015625$\\
&$P(X\le3)= \boxed{0.984375}$\\
\end{tabular}
\end{table}
\end{document}