
The domain of the function is the values of x
Domain = {-2, -1, 1, 3}
We will substitute x by these values to find g(x)
g(x) is the range of the function
x = -2

x = -1

x = 1

x = 3

The range of the function is the values of g(x)
Range = {-1, 2, 7}
The answer is A