Which relation is the function?

Again we do the vertical line test. Every vertical line must intersect at most one point for the graph to be a function. That fails for all but the first one, top left.
Answer: top left
If any dots are straight up or down from each other (vertical line test) then they are not function