Answer:
Both A and B
Step-by-step explanation:
For functions you are just trying to make sure all the x's are different.
So let's look at A: The x's there are all different so it is a function
Now let's look at B: The x's there are all different so it is a function.
Both A and B