Answer:
The graph is attached
Step-by-step explanation:
Here the given function is
[tex]f(x) = \left \{ {{-x}, x < 0 \atop {1}, \\ x > 0} \right.[/tex]
Now consider
y = -x
The graph is a line at 45° to the negative x axis.
But as x <0, so it shall be a line only in the second quadrant.
Also for f(x) = 1
It a horizontal line passing through y axis at 1.
But as x > 0, So we have the line only to the right of y axis.
The graph is attached.