\documentclass[pdf,aspectratio=169]{beamer}
\usepackage{microtype}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{breqn}
\usepackage{nicefrac}
%theorems
\newtheorem{thm}{Question}
\newtheorem{pf}{Solution}
%theme settings
\usetheme{Madrid}
\usecolortheme{default}
\definecolor{UQmain}{rgb}{0.3178,0.141,0.478} %81, 36, 122
\setbeamercolor*{palette primary}{bg=UQmain, fg=white}
\setbeamercolor*{palette secondary}{bg=white, fg=UQmain}
\setbeamercolor*{palette tertiary}{bg=white, fg=black}
\setbeamercolor*{palette quaternary}{bg=UQmain, fg=white}
\AtBeginEnvironment{thm}{%
\setbeamercolor{block body}{bg=white, fg=black}
\setbeamercolor{block title}{bg=UQmain, fg=white}}
\titlegraphic{\vspace{1cm}\includegraphics[width=3cm]{figs/logo.png}}
%Hyperref setup
\hypersetup{colorlinks,citecolor=blue,filecolor=blue,linkcolor=blue,urlcolor=blue}
\mode<presentation>{}
\title{COMP2K Workouts}
\subtitle{Finite State Machines}
\author{Dr. Shekhar Chandra}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
%===============
\begin{frame}{8-Point DFT}
\begin{thm}
Compute the 8-point discrete Fourier transform (DFT) of the signal
\begin{equation}
\begin{bmatrix}
0. & 0.62 & 1.93 & -1.42 & 1.42 & -1.93 & -0.62 & -0.
\end{bmatrix}
\end{equation}
\end{thm}
\end{frame}
\end{document}