\documentclass{beamer}

\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{positioning}

%Information to be included in the title page:
\title{Sample title}
\author{Anonymous}
\institute{Overleaf}
\date{2021}

\begin{document}

\frame{\titlepage}

\begin{frame}
\frametitle{Sample frame title}
This is some text in the first frame. This is some text in the first frame. This is some text in the first frame.
\end{frame}

\begin{frame}
  \begin{tikzpicture}[
      roundnode/.style={circle, draw=green!60, fill=green!5, very thick, minimum size=7mm},
      squarednode/.style={rectangle, draw=red!60, fill=red!5, very thick, minimum size=5mm},
    ]
    \node[draw, align=left, squarednode](ceskState){
      C = $\lambda x . (\lambda y . x + y)$ \\
      $E$ = [] \\
      $S$ = [] \\
      $\kappa$ = halt
    };
    \node[squarednode](ceskState2)[right=of ceskState]{CESK};

    %lines
    \draw[->] (ceskState.east) -- (ceskState2.west);
  \end{tikzpicture}
\end{frame}

\end{document}

% vim: set sw=2 :
