I'm not sure how to express this function in piecewise form without using absolute values:
$$ f(x) = 3|x-2| - |x+1|$$
I know how to do it when there is just one absolute value, such as:
$$g(x) = 3+|2x-5|$$
$$ g(x)= \begin{cases} 2x-2& \text{; }x\ge\frac52\\ 8-2x&\text{; }x<\frac52 \end{cases} $$
To express $g(x)$ in piecewise form, I made 2 cases. Case 1 positive and Case 2 negative.
But I can't exactly do that for this problem [$f(x)$]... Could someone tell me how to proceed?
EDIT: Thank you for all the help!