I have no clue how to solve piece-wise functions. Nothing ever explains it in a way I understand. Please help here are two example problems from my homework.

I have no clue how to solve piecewise functions Nothing ever explains it in a way I understand Please help here are two example problems from my homework class=
I have no clue how to solve piecewise functions Nothing ever explains it in a way I understand Please help here are two example problems from my homework class=