help me out on this piecewise function

Answer:
1.-2, if 3
2.4,if 3
Explanation:
I did this by using the strategy I know. Just diverse the transaction on the line and take nautical lines and take the absolute deviations and that’s how I got the answers.