A vertical line has the same x-value for all of its y-values. Only the last answer choice lists two points on a vertical line. They also happen to be points on the graph, so it is NOT a function.
__
Any vertical line in the x-interval (-3, 3) will pass through the segments y=-2 and y=2. Vertical lines at x=-3 or x=3 will pass through an infinite number of points between y=-2 and y=2.