Hi! I need help solving this practice problem. Thank you

Given
Function g(x)
Find
Graph the function
Explanation
as we have given
for
[tex]\begin{gathered} x\in[-2,-1),g(x)=-3 \\ x\in[-1,0),g(x)=-2 \\ x\in[0,1),g(x)=-1 \\ x\in[1,2),g(x)=0 \end{gathered}[/tex]where [ ] indicates closed interval
( ) indicates open interval
Final Answer
the graph of the function