From the graph, we see that this piecewise function will have two expressions, both lines. The first will has the interval:

Which we can see because it is a line that starts in -5, but not equal to -5 because it is a empty dot, and goes left, to lower values of x.
Similarly, the second part will be in interval:

Because it starts at 2, but not equal to 2, and goes to greater values of x.
To find the expression, we need 2 points. From the graph, we can pick the points (-10,0) and (-5,-5). The equations is:

So, using the points:

And:

So, the first expression is

The second expression is alittle bit easier, because it is a constant line at y = -3, so the expression is this:

Thus, the piecewise function is:
