\begin{tikzpicture}[>=latex] \draw[cyan, densely dotted] (-5,-5) grid (5,5); \useasboundingbox (-5,5) rectangle (5,5); \matrix (m1) [row sep=6mm,column sep=5mm,matrix of nodes,column 6/.style={anchor=base west}, left delimiter=\{ ] {\phantom{a} & $3$ & $0$ & $1$ & $-5 $ & $2$ & \phantom{a}\\ \phantom{a} & \phantom{a} & $6$ & $12$ & $26$ & $42$ & \phantom{a}\\ $2$ & $3$ & $6$ & $13$ & $21$ & $44=g(2)$\\ }; \matrix (m2) [below=of m1.south west, anchor= north west,yshift=6mm, row sep=6mm,column sep=5mm,matrix of nodes,column 5/.style={anchor=base west} , left delimiter=\{] { \phantom{a} & \phantom{a} & $6$ & $24$ & $74$ & \phantom{a}\\ $2$ & $3$ & $12$ & $37$ & $95=g'(2)$ \phantom{a}\\ }; \matrix (m3) [below=of m2.south west, anchor= north west,yshift=6mm, row sep=6mm,column sep=5mm,matrix of nodes,column 4/.style={anchor=base west} , left delimiter=\{] { \phantom{a} & \phantom{a} & $6$ & $36$ & \phantom{a}\\ $2$ & $3$ & $18$ & $73=g''(2)$ \phantom{a}\\ }; \draw ([xshift=.1cm]m1-1-1.north east) -- ([xshift=.1cm]m2-2-1.south east); \draw ([yshift=-.25cm]m1-2-1.south west) -- ([yshift=-.25cm,xshift=1cm]m1-2-6.south east); \draw ([yshift=2mm]m1-3-6.north west) -- ([yshift=-1mm]m1-3-6.south west); %\draw ([yshift=-.25cm]m1-2-6.south west) -- ([yshift=-.25cm,xshift=4mm]m1-2-6.south east); \draw ([yshift=-.15cm]m1-3-6.south west) -- ([yshift=-.15cm]m1-3-6.south east); \node[circle] (del-left-1) at ($0.5*(m1-3-1.south west)+0.5*(m1-1-1.north west)$){}; % \node[draw,rectangle,left delimiter=\{] (del-left-1) at (m1-2-1) {\tikz{\path (m1-1-1.north east) rectangle (m1-3-1.south west);}}; \node[left=10pt] at (del-left-1.west) {1. Schritt}; %\draw ($(m2-1-1.north east)!0.5!(m2-1-2.north west)$) -- ($(m2-2-1.south east)!0.5!(m2-2-2.south west)$); \node[circle] (del-left-2) at ($0.5*(m2-2-1.south west)+0.5*(m2-1-1.north west)$){}; \node[left=10pt] at (del-left-2.west) {2. Schritt}; % \node[rectangle,draw] (del-left-2) at ($(m2-2-1)-(m2-1-1)$) {\tikz{\path (m2-2-2.north east) rectangle (m2-2-1.south west);}}; % \node[left=10pt] at (del-left-2.west) {2. Schritt}; %\mymatrixbracetop{2}{6}{$E'$} %\node[font=\color{red}] at (m2.center){X}; %\foreach \xy in {$1*(m2-1-1)$, $1*(m2-2-1)$}{ % \node at (\xy) {\xy}; %} \end{tikzpicture}