I really need help pls help me plz and pls answer it correctly with explanation.

Answer:
B
Step-by-step explanation:
The only diagram representing a function is B.
All the others fail rhe vertical line test. Each of the x values should have one y value assigned.