(A)
we are given

we can use vertical line test
If the vertical line intersects at two points
then this is not the function
because a function can not have two outputs for same input
we get graph as
so, this is not function
(B)
we are given

we can use vertical line test
If the vertical line intersects at two points
then this is not the function
because a function can not have two outputs for same input
we get graph as
so, this is not function