The relation is a function if every ordered pair has one value of x, which means x does not repeat
Let us study each relation
a) {(5, 1), (-2, 4), (1, 1), (5, 2)}
Since each ordered pair has a different value of x
There are 2 ordered pairs that have x = 5
This relation is not a function
b) {(1, 4), (-2, 2), (5, 1), (-6, 2)}
Since no repeated x in the ordered pairs
Then the relation is a function
c) There are 2 ordered pairs with x = -2
It is not a function
d) There are 2 ordered pairs with x = 1
It is not a function
The answer is b