Answer:
if

if

Explanation:
The piecewise function is made up of two linear functions.
1) A line of positive slope that passes through the points (-3, 0) and (-1, 2)
2) A straight line with slope m = 0.
For the first line we have 2 points (-3, 0) and (-1, 2)
Then we can find the slope m.

Then the equation is:

Now we find b substituting a point in the equation

Then the equation is:

Notice that this equation goes from x = -3 to x = -1. Not including -1.
Then the second line cuts the y-axis at y = 5 and its slope is m = 0.
Then your equation is:

Finally, the piecewise function is:
if

if
