What is the range of the function?

The correct answer is B: {2, 6, 8}.
The set of first components (x-coordinates) in the ordered pairs is the domain of the relation: {-1, 3, 5}.
The set of second components (y-coordinates) is the range of the relation. The range of the given problem is the set of second components (on the right): {2, 6, 8}.
Therefore, the correct value is B: {2, 6, 8}.
Please mark my answers as the Brainliest if you find my explanations helpful :)