Yes, it is a function as we can see that different values of y correspond with different values of x (except for the first two cases).
1.6m questions
2.0m answers