Hey there could you please show an image of said graphs!
To determine if it is a function or not, you can not have a vertical line drawn down the graph touch 2 of the graphed points. That means that you can not have 2 points with the same x value and different Y value. The first set of points satisfies this and is your answer. Hope that helps.
2 divided by 1 or 1 divided by 1