Linear functions with absolute values

1003019303

Level: 
B
Let \( f(x)=|2-x|+|x+1| \). Identify which of the statements is correct.
Function \( f \) has minimum at \( x=-1 \) and at \( x=2 \).
Function \( f \) has minimum at \( x=-1 \) and maximum at \( x=2 \).
Function \( f \) has maximum at \( x=-1 \) and at \( x=2 \).
Function \( f \) has minimum at \( x=3 \).