(NEED HELP ASAP) What rule defines the function in each of the following graphs?

Hey there!!
The graph B is not a function as it doesn't pass the vertical line test, as there are two x values repeating.
We do not want value x repeating, if it does, it is not considered to be a function anymore.
Hope my answer helps!