Which relation is a function?

Answer:
the last one is the correct answer i believe
jimin ya got no jams