Is the following a function ?explain

Answer:
Yes
Step-by-step explanation:
For every x for which y is defined, there is exactly one value of y for each x value.
Moreover, this function passes the "vertical line test" for all x in its domain.
Please review "vertical line test" and "function."