Which of the following piecewise functions matches the graph? (1 point) Responses

f(x)={−5 if x<0−x+1 if x≥0
f(x)={x+5 if x≤−22x+3 if x>−2 f l
f(x)={−x−1 if x<1−x+2 if x≥1 f l
f(x)={2−x if x≤0x−5 if x>0

The correct piecewise function that matches the graph is f(x)={2−x if x≤0x−5 if x>0.