To determine the graphed on the axes below as a piecewise function
The equation of line using two-point form will be
Thus for each of the line the range of values are
[tex]\begin{gathered} y=3\Rightarrow\mleft\lbrace-5\leq x<0\mright\rbrace \\ y=-x+1\Rightarrow\mleft\lbrace0Therefore the piecewise function for the lines will be[tex]f(x)=\begin{cases}y=3,\mleft\lbrace-5\leq x<0\mright\rbrace \\ \\ y=-x+1,\text{ }\mleft\lbrace0