The x values are the domain and they y values are the range. So the domain is {-2, 0, 2}. And the range is {-1, 0, 1}. So B is the answer.