In order for a relation to be a function, each x value must have no more than 1 corresponding y value.
Remember that the x values are the ones on the left in an ordered pair. Because each one is unique, the relation is a function in this case.
Final answer: B