Hi!
So when you havea function, the x values can not be repeated otherwise it is not a function.
In A 4 is repeated so that's wrong
B, nothing is repeated so that's right
C, 2 is repeated o it is wrong
D, 1 is repeated so it is wrong
B is your answer!
Hope this helps!