\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}[b/.style={draw, minimum size=0.5cm, font=\small}]
\draw[line width=1pt] (0,0) rectangle (3.2,1.8);
\node[b] (a) at (1.0,1.3) {1}; \node[b] (c) at (2.4,1.3) {2}; \node[b] (d) at (1.6,0.5) {3};
\draw (-0.4,1.3) node[ocirc]{} -- (a) -- (c) -- (2.9,1.3) -- (2.9,0.5) -- (d) (d) -- (-0.4,0.5) node[ocirc]{};
\node at (3.8,0.9) {$\equiv$};
\begin{scope}[xshift=4.6cm]
\draw[line width=1pt] (0,0) rectangle (3.2,1.8);
\node[b] (a) at (1.0,1.3) {3}; \node[b] (c) at (2.4,1.3) {2}; \node[b] (d) at (1.6,0.5) {1};
\draw (-0.4,1.3) node[ocirc]{} -- (a) -- (c) -- (2.9,1.3) -- (2.9,0.5) -- (d) (d) -- (-0.4,0.5) node[ocirc]{};
\end{scope}
\end{tikzpicture}
\end{document}
