Does this table represent a function ? Why or why not

Answer: D. No, because one x-value corresponds to the two different y-values.
Step-by-step explanation:
In the given table , the number 5 corresponds to two different values 2 and 5.
i.e. the one value of x corresponds to two different y-values.
Thus by the definition of function, the given tables does not represent a function.