Which graph represents the piecewise-defined function?
y=⎪⎪5 if x<−5−2 if −5≤x≤61 if x>6

Answer:
See the attached figure
Step-by-step explanation:
The given piecewise function is
[tex]y =\left\{ \begin{matrix} 5 & \text{if }x < -5 \\ -2 & \text{if } -5 \leq x \leq 6 \\1 & \text{if }x > 6 \end{matrix}\right.\\\[/tex]
Notice that the equality sign appeared at the middle only
so, the middle horizontal line must be blacked on the both sides which is the agree with the upper right figure