Answer
The relation is not a function.
Domain: {$0,1,2$}
Range: {$-4,-1,0,1,4$}
Work Step by Step
In a function, no two ordered pairs can have the same first component
and different second components.
In the question, two pairs of ordered pairs have the same first component and different second components. This means that the relation is not a function.
The domain is the set of x-values: {$0,1,2$}. The range, on the other hand, is the set of y-values {$-4,-1,0,1,4$}.