Use the vertical line test
B) function
A) not a function

Answer:
B) Function
Step-by-step explanation:
Because no x-value is crossed twice when doing the VLT