Answer is W.
Reason
A function has a unique output (y) for every input (x). If there are two or more of the same x value, it will not pass the vertical line test.
See the example attached of two x values that are the same, the vertical line touches both so it’s not a function.