Please help (question given in file)

Answer:
[tex]y = x +3[/tex] if [tex]-3 \leq x <-1[/tex]
[tex]y = 5[/tex] if [tex]-1 \leq x \leq 1[/tex]
Step-by-step 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.
[tex]m = \frac{y_2 -y_1}{x_2 - x_1}\\\\m = \frac{2-0}{-1 -(-3)}\\\\m = 1[/tex]
Then the equation is:
[tex]y = x + b[/tex]
Now we find b substituting a point in the equation
[tex]0 = -3 + b\\b = 3[/tex]
Then the equation is:
[tex]y = x +3[/tex]
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:
[tex]y = 5[/tex]
Finally, the piecewise function is:
[tex]y = x +3[/tex] if [tex]-3 \leq x <-1[/tex]
[tex]y = 5[/tex] if [tex]-1 \leq x \leq 1[/tex]