\begin{tikzpicture}[scale=0.5]
\begin{axis}[
axis lines = center,
axis on top,
xmin=0,
xmax=6.3,
ymin=0,
ymax=5.3,
y=1cm,
x=1cm,
ytick={0,...,5},
xtick={0,...,6},
xlabel = x,
ylabel = y,
font=\tiny
]
\addplot[mark=none,draw=black,fill=rwth-50] coordinates {(1,2) (1,3)
(2,4) (4,4) (5,3) (3,1) (2,1)} -- cycle;
\addplot[mark=none,dashed] coordinates {(1, 0) (1,5.3)};
\addplot[mark=none,dashed] {x + 2};
\addplot[mark=none,dashed,domain={0:6}] {4};
\addplot[mark=none,dashed,domain={0:6}] {-x + 8};
\addplot[mark=none,dashed,domain={0:6}] {x - 2};
\addplot[mark=none,dashed,domain={0:6}] {1};
\addplot[mark=none,dashed] {-x + 3};
\addplot[only marks,mark=o] coordinates {
(2,4) (3,4) (4,4)
(1,3) (2,3) (3,3) (4,3) (5,3)
(1,2) (2,2) (3,2) (4,2)
(2,1) (3,1)
};
\end{axis}
\end{tikzpicture}