Which graph represents the function?

Answer:
First one ( top left)
This has an open circle at y = 3 which means the 3 is not included.
Then the y value of the second line equals the x value.