For this case the first thing you should do is observe the value of the function on the y-axis when the value of x is -2.
We observe that when x = -2 we have two possible values:
y = 1
y = 3
The value of y = 1 is discarded because we have a piecewise function with a gap in y = 1. Therefore, this value is not part of the range of the function.
The value of y = 3 is part of the range of the function.
Answer:
When x=-2 the y value is:
f (-2) = 3
B. 3