Step 1

Function is defined partially on intervals.

When \(\displaystyle{x}{<}{0}\), funktion is linear, so create table of values and graph a line through two points:

\(\begin{array}{|c|c|}\hline x & f(x) \\ \hline -2 & 3 \\ \hline -1 & 2 \\ \hline \end{array}\)

When \(\displaystyle{x}\geq{0}\) , function is constant, so graph horizontal line \(\displaystyle{y}={1}\).