Answer:
The first one in red is a function. The second one in blue is not a function.
Explanation:
Using the vertical line test, if you were to draw a vertical line and move the line from left to right, it should not have two points of intersection (if the vertical line intersects the relation more than one, then the relation is not a function).