2. Which of these graphs represents a function?

Answer:
I think the first one.
Step-by-step explanation: