Which of the following relations is a function?
A.
(3, 1), (-3, 4), (-5, 1), (3, -5)

B.
(-5, 1), (-3, -5), (3, 5), (6, 1)

C.
(-5, 4), (-3, 6), (-5, 3), (6, 2)

D.
(-5, 1), (-3, 4), (3, -5), (-3, 6)