\begin{tikzpicture}[scale=2.54]%
% dpic version 2024.01.01 option -g for TikZ and PGF 1.01
\ifx\dpiclw\undefined\newdimen\dpiclw\fi
\global\def\dpicdraw{\draw[line width=\dpiclw]}
\global\def\dpicstop{;}
\dpiclw=0.8bp
\dpiclw=0.8bp
\dpiclw=1.2bp
\dpicdraw[draw=orange](3.85,0.5225)
 ..controls (3.85,0.544571) and (3.832071,0.5625)
 ..(3.81,0.5625)
 --(0.14,0.5625)
 ..controls (0.117929,0.5625) and (0.1,0.544571)
 ..(0.1,0.5225)
 --(0.1,-0.5225)
 ..controls (0.1,-0.544571) and (0.117929,-0.5625)
 ..(0.14,-0.5625)
 --(3.81,-0.5625)
 ..controls (3.832071,-0.5625) and (3.85,-0.544571)
 ..(3.85,-0.5225)
 --cycle\dpicstop
\dpicdraw (0,0)
 --(0.5,0)\dpicstop
\draw (0.25,0) node[above right=-1bp]{\Large $X$};
\filldraw[line width=0bp](0.9,0.21)
 --(1,0.25)
 --(0.9,0.29) --cycle\dpicstop
\dpicdraw (0.5,0)
 --(0.75,0.25)
 --(0.977562,0.25)\dpicstop
\dpicdraw[draw=orange](1.75,0.41)
 ..controls (1.75,0.432071) and (1.732071,0.45)
 ..(1.71,0.45)
 --(1.04,0.45)
 ..controls (1.017929,0.45) and (1,0.432071)
 ..(1,0.41)
 --(1,0.09)
 ..controls (1,0.067929) and (1.017929,0.05)
 ..(1.04,0.05)
 --(1.71,0.05)
 ..controls (1.732071,0.05) and (1.75,0.067929)
 ..(1.75,0.09)
 --cycle\dpicstop
\draw (1.375,0.25) node{\Large $f$};
\draw (1.75,0.25) node[above right=-1bp]{\Large $Y$};
\filldraw[line width=0bp](1.775,-0.29)
 --(1.875,-0.25)
 --(1.775,-0.21) --cycle\dpicstop
\dpicdraw (0.5,0)
 --(0.75,-0.25)
 --(1.852562,-0.25)\dpicstop
\dpicdraw[draw=orange](2.625,-0.09)
 ..controls (2.625,-0.067929) and (2.607071,-0.05)
 ..(2.585,-0.05)
 --(1.915,-0.05)
 ..controls (1.892929,-0.05) and (1.875,-0.067929)
 ..(1.875,-0.09)
 --(1.875,-0.41)
 ..controls (1.875,-0.432071) and (1.892929,-0.45)
 ..(1.915,-0.45)
 --(2.585,-0.45)
 ..controls (2.607071,-0.45) and (2.625,-0.432071)
 ..(2.625,-0.41)
 --cycle\dpicstop
\draw (2.25,-0.25) node{\Large $g$};
\draw (2.625,-0.25) node[above right=-1bp]{\Large $Z$};
\dpicdraw (3.375,0) circle (0.07874in)\dpicstop
\draw (3.375,0) node{\Large $+$};
\filldraw[line width=0bp](3.134584,0.183848)
 --(3.233579,0.141421)
 --(3.191152,0.240416) --cycle\dpicstop
\dpicdraw (1.75,0.25)
 --(3.125,0.25)
 --(3.217712,0.157288)\dpicstop
\filldraw[line width=0bp](3.191152,-0.240416)
 --(3.233579,-0.141421)
 --(3.134584,-0.183848) --cycle\dpicstop
\dpicdraw (2.625,-0.25)
 --(3.125,-0.25)
 --(3.217712,-0.157288)\dpicstop
\filldraw[line width=0bp](3.975,-0.04)
 --(4.075,0)
 --(3.975,0.04) --cycle\dpicstop
\dpicdraw (3.575,0)
 --(4.052562,0)\dpicstop
\dpiclw=0.8bp
\dpicdraw[draw=orange](1.165625,-0.890391)
 ..controls (1.165625,-0.868319) and (1.147696,-0.850391)
 ..(1.125625,-0.850391)
 --(0.5025,-0.850391)
 ..controls (0.480429,-0.850391) and (0.4625,-0.868319)
 ..(0.4625,-0.890391)
 --(0.4625,-1.513516)
 ..controls (0.4625,-1.535587) and (0.480429,-1.553516)
 ..(0.5025,-1.553516)
 --(1.125625,-1.553516)
 ..controls (1.147696,-1.553516) and (1.165625,-1.535587)
 ..(1.165625,-1.513516)
 --cycle\dpicstop
\dpicdraw[draw=orange](2.290625,-0.890391)
 ..controls (2.290625,-0.868319) and (2.272696,-0.850391)
 ..(2.250625,-0.850391)
 --(1.486875,-0.850391)
 ..controls (1.464804,-0.850391) and (1.446875,-0.868319)
 ..(1.446875,-0.890391)
 --(1.446875,-1.513516)
 ..controls (1.446875,-1.535587) and (1.464804,-1.553516)
 ..(1.486875,-1.553516)
 --(2.250625,-1.553516)
 ..controls (2.272696,-1.553516) and (2.290625,-1.535587)
 ..(2.290625,-1.513516)
 --cycle\dpicstop
\dpicdraw[draw=orange](3.275,-0.890391)
 ..controls (3.275,-0.868319) and (3.257071,-0.850391)
 ..(3.235,-0.850391)
 --(2.611875,-0.850391)
 ..controls (2.589804,-0.850391) and (2.571875,-0.868319)
 ..(2.571875,-0.890391)
 --(2.571875,-1.513516)
 ..controls (2.571875,-1.535587) and (2.589804,-1.553516)
 ..(2.611875,-1.553516)
 --(3.235,-1.553516)
 ..controls (3.257071,-1.553516) and (3.275,-1.535587)
 ..(3.275,-1.513516)
 --cycle\dpicstop
\dpicdraw[draw=orange](4.4,-0.890391)
 ..controls (4.4,-0.868319) and (4.382071,-0.850391)
 ..(4.36,-0.850391)
 --(3.59625,-0.850391)
 ..controls (3.574179,-0.850391) and (3.55625,-0.868319)
 ..(3.55625,-0.890391)
 --(3.55625,-1.513516)
 ..controls (3.55625,-1.535587) and (3.574179,-1.553516)
 ..(3.59625,-1.553516)
 --(4.36,-1.553516)
 ..controls (4.382071,-1.553516) and (4.4,-1.535587)
 ..(4.4,-1.513516)
 --cycle\dpicstop
\dpicdraw[draw=orange](5.384375,-0.890391)
 ..controls (5.384375,-0.868319) and (5.366446,-0.850391)
 ..(5.344375,-0.850391)
 --(4.72125,-0.850391)
 ..controls (4.699179,-0.850391) and (4.68125,-0.868319)
 ..(4.68125,-0.890391)
 --(4.68125,-1.513516)
 ..controls (4.68125,-1.535587) and (4.699179,-1.553516)
 ..(4.72125,-1.553516)
 --(5.344375,-1.553516)
 ..controls (5.366446,-1.553516) and (5.384375,-1.535587)
 ..(5.384375,-1.513516)
 --cycle\dpicstop
\dpicdraw[draw=orange](2.15,-0.940391)
 ..controls (2.15,-0.918319) and (2.132071,-0.900391)
 ..(2.11,-0.900391)
 --(1.6275,-0.900391)
 ..controls (1.605429,-0.900391) and (1.5875,-0.918319)
 ..(1.5875,-0.940391)
 --(1.5875,-1.060391)
 ..controls (1.5875,-1.082462) and (1.605429,-1.100391)
 ..(1.6275,-1.100391)
 --(2.11,-1.100391)
 ..controls (2.132071,-1.100391) and (2.15,-1.082462)
 ..(2.15,-1.060391)
 --cycle\dpicstop
\draw (1.86875,-1.000391) node{$f$};
\dpicdraw[draw=orange](4.259375,-0.940391)
 ..controls (4.259375,-0.918319) and (4.241446,-0.900391)
 ..(4.219375,-0.900391)
 --(3.736875,-0.900391)
 ..controls (3.714804,-0.900391) and (3.696875,-0.918319)
 ..(3.696875,-0.940391)
 --(3.696875,-1.060391)
 ..controls (3.696875,-1.082462) and (3.714804,-1.100391)
 ..(3.736875,-1.100391)
 --(4.219375,-1.100391)
 ..controls (4.241446,-1.100391) and (4.259375,-1.082462)
 ..(4.259375,-1.060391)
 --cycle\dpicstop
\draw (3.978125,-1.000391) node{$g$};
\dpicdraw (5.132812,-1.201953) circle (0.059055in)\dpicstop
\draw (5.132812,-1.201953) node{$+$};
\filldraw[line width=0bp](5.682813,-1.226953)
 --(5.782813,-1.201953)
 --(5.682813,-1.176953) --cycle\dpicstop
\dpicdraw (5.282813,-1.201953)
 --(5.759906,-1.201953)\dpicstop
\dpicdraw[draw=orange](5.578125,-0.8025)
 ..controls (5.578125,-0.780429) and (5.560196,-0.7625)
 ..(5.538125,-0.7625)
 --(0.180625,-0.7625)
 ..controls (0.158554,-0.7625) and (0.140625,-0.780429)
 ..(0.140625,-0.8025)
 --(0.140625,-1.601406)
 ..controls (0.140625,-1.623478) and (0.158554,-1.641406)
 ..(0.180625,-1.641406)
 --(5.538125,-1.641406)
 ..controls (5.560196,-1.641406) and (5.578125,-1.623478)
 ..(5.578125,-1.601406)
 --cycle\dpicstop
\dpicdraw (0.5625,-1.201953)
 --(0,-1.201953)\dpicstop
\draw (0.28125,-1.201953) node[above right=-1bp]{$x$};
\filldraw[line width=0bp](1.4875,-1.025391)
 --(1.5875,-1.000391)
 --(1.4875,-0.975391) --cycle\dpicstop
\dpicdraw (0.5625,-1.201953)
 --(1.065625,-1.000391)
 --(1.564594,-1.000391)\dpicstop
\filldraw[line width=0bp](4.942613,-1.367572)
 --(5.026746,-1.308019)
 --(4.924486,-1.320973) --cycle\dpicstop
\dpicdraw (2.15,-1.000391)
 --(2.671875,-1.000391)
 --(3.175,-1.403516)
 --(4.78125,-1.403516)
 --(5.005399,-1.316323)\dpicstop
\dpicdraw[line width=5bp,draw=white](2.611875,-1.513516)
 --(3.235,-0.890391)\dpicstop
\filldraw[line width=0bp](3.596875,-1.025391)
 --(3.696875,-1.000391)
 --(3.596875,-0.975391) --cycle\dpicstop
\dpicdraw (0.5625,-1.201953)
 --(1.065625,-1.403516)
 --(2.671875,-1.403516)
 --(3.175,-1.000391)
 --(3.673969,-1.000391)\dpicstop
\filldraw[line width=0bp](4.924486,-1.082933)
 --(5.026746,-1.095887)
 --(4.942613,-1.036335) --cycle\dpicstop
\dpicdraw (4.259375,-1.000391)
 --(4.78125,-1.000391)
 --(5.005399,-1.087583)\dpicstop
\end{tikzpicture}%
