Given the information on the picture, we have the following for the values of -2,-1 and 3:
First, if x = -2, notice that we have the following:

then, we have the first case of the function:

next, if x = -1, notice that -2 < -1 < 1, then, we have the second case:

finally, for x = 3, we have that 3 is greater or equal than 1, then, we apply the third case:

therefore, we have that:
g(-2) = 3
g(-1) = -2
g(3) = -7/2