Consider the graph below, and identify the piecewise function that describes it.

Answer:
f(x)=-x when x belongs to (-infinity, 3)
f(x)=-2 when x belongs to [3, 6]
f(x)=2x-7 when x belongs to (6, infinity)