Analyze the different intervals at which the function takes the values provided by the graph. Pay special attention on the circles, whether they are filled up or not.
From the graph, notice that the function takes the value of 3 when x is equal to -4, -2 or any number between them. Therefore, the condition is:
If x is greater (but not equal) than -2 and lower or equal to 3, the function takes the value of 5. Therefore:
[tex]f(x)=5\text{ if }-2Notice that the first symbol used is "<" and the second is "≤ ".
Finally, the function takes the value of -3 whenever x is greater (but not equal) to 3 and less than or equal to 5. Then:
[tex]f(x)=-3\text{ if }3In conclusion:[tex]f(x)=\mleft\{\begin{aligned}3\text{ if }-4\leq x\leq-2 \\ 5\text{ if }-2