For a relation to be a function, it must only have one y-value per x-value.
The top-left answer has two y-values on x=0.
The top-right answer has two y-values on x=-1.
The bottom-left answer has two y-values on x=2.
The answer is the bottom-right graph.