f(x) =
We plot the graphs of y = -2-x and the graph of y = -2+x
We chop off the line y = -2-x at x=2 and erase the part beyond that on the
right because of x < 1 tells us we can use only the portion of that line which is left of x=1
We chop off the line y = -2+2x at x=2 and erase the part beyond that on the
left because of x > 1 tells us we can use only the portion of that line which is right of x = 1
But that's not all. We must place a CLOSED circle at the end point of
the graph of y=-2-x because of the inequality x<1 and we must
place an OPEN circle at the wnd point of of the graph of y = -2+2x because
of the inequality x>1