(PLEASE ANSWER ILL GIVE YOU 20 POINTS) Determine if the relation is a function. If the relation is a function, find the domain and range.Required to answer. Single choice.

Answers:
The relation is a function
Domain = {-2, -1, 0, 1, 2}
Range = {-2, 0, 2}
=================================================
Explanation:
The blue points shown are
(-2,-2)
(-1,0)
(0,2)
(1,0)
(2,-2)
Note how the x values do not repeat themselves. Visually this graph passes the vertical line test. It is impossible to draw a single straight vertical line through more than one blue point at a time. It tells us that any x input leads to exactly one y output.
The relation is a function
The domain is the set of x coordinates of the points
Domain = {-2, -1, 0, 1, 2}
The range is the set of y coordinates of each point
Range = {-2, 0, 2}
Toss out any duplicate items that may occur in the range.
Answer:
The relation is a function.
The domains are 2, 1, 0, -1, -2.
The ranges are -2, 0, 2, 0, -2