Answer:
The range is {4,2,0,-2)
Explanation:
The given function is

The domain is {-1,0,1,2}
To find the range we substitute the elements in the domain and calculate the corresponding images.
when x=-1

When x=0,

When x=1,

When x=2,

Therefore the range is {4,2,0,-2)