From the graph it is clear that the function is a horizontal line from -6 to -3 and an oblique line from -3 to 3 so the equation from -6 to -3 is:
The equation of line using two point form from -3 to 3 is found by knowing the points.The line passes through (-2,6) and (0,4) so it follows:
Hence the piecewise function is given by:
[tex]f(x)=\begin{cases}5,-6\leq x<-3 \\ -x+4,-3
Hence the function shown above is the required piecewise function.