\documentclass{standalone}
\usepackage[paperwidth=\maxdimen,paperheight=\maxdimen]{geometry}
\usepackage{pgf,tikz}
\begin{document}

\begin{tikzpicture}[x=24pt, y=24pt, draw=white, double=black, line width=2.1pt]
	\node (5) at (1, 0) {$5$};
	\node (3) at (11, 0) {$3$};
	\node (4) at (16, 0) {$4$};
	\node (6) at (32, 0) {$6$};
	\node (2) at (38, 0) {$2$};
	\node (1) at (42, 0) {$1$};

	\draw[double=white,draw=green] (6) -- (32, -2) -- (40, -2) -- (40, 8) -- (23, 8) -- (23, -5) -- (42, -5) -- (1);
	\draw[double=white,draw=blue] (2) -- (38, 6) -- (25, 6) -- (25, -4) -- (41, -4) -- (41, 11) -- (11, 11) -- (3);
	\draw[double=white,draw=red] (4) -- (16, -7) -- (1, -7) -- (5);
	\draw[double=green] (3) -- (11, -5) -- (21, -5) -- (21, 10) -- (43, 10) -- (43, -3) -- (35, -3) -- (35, 3) -- (28, 3) -- (28, -11) -- (6, -11) -- (6, 5) -- (16, 5) -- (4);
	\draw[double=blue] (5) -- (0, 0) -- (0, -16) -- (34, -16) -- (34, 2) -- (29, 2) -- (29, -12) -- (5, -12) -- (5, 6) -- (17, 6) -- (17, -1) -- (15, -1) -- (15, 4) -- (7, 4) -- (7, -10) -- (27, -10) -- (27, 4) -- (36, 4) -- (36, -1) -- (39, -1) -- (39, 7) -- (24, 7) -- (24, -8) -- (9, -8) -- (9, 2) -- (13, 2) -- (13, -3) -- (19, -3) -- (19, 8) -- (3, 8) -- (3, -14) -- (31, -14) -- (31, 0) -- (6);
	\draw[double=red] (1) -- (42, 9) -- (22, 9) -- (22, -6) -- (10, -6) -- (10, 1) -- (12, 1) -- (12, -4) -- (20, -4) -- (20, 9) -- (2, 9) -- (2, -15) -- (33, -15) -- (33, 1) -- (30, 1) -- (30, -13) -- (4, -13) -- (4, 7) -- (18, 7) -- (18, -2) -- (14, -2) -- (14, 3) -- (8, 3) -- (8, -9) -- (26, -9) -- (26, 5) -- (37, 5) -- (37, 0) -- (2);
\end{tikzpicture}
\end{document}