Solution:

Here we have piecewise function wiht interval x<-2 , -2<u><</u> x <1 and x>1
It is piecewise function because function break at two point x=-2 and x=1
When x<-2 , f(x)=x
We took some value of x less than -2 and then find f(x)
x -2 -3 -5
f(x) -2 -3 -5
Now we plot the points on graph and join them to see the graph.
When -2<u><</u> x <1 , f(x)=-2
It is constant function, f(x) will always -2 in this interval.
When x>1, f(x)=x-3
We take some random value of x greater than 1 and then find f(x)
x 1 2 3
f(x) -2 -1 0
Now we plot the points on graph and join then to see the graph.