Answer:
For the graph part, A is not a function and B is a function. For the bottom part, A is a function and B is not a function.
Explanation:
Top
A is NOT a function because it had failed the vertical line test, meaning that it has multiple outputs for each input which makes it not successful when taking the vertical line test. B is a function since it passed the vertical line test. Always use the vertical line test to see whether or not the graph met the requirement of having the input have one output.
Bottom
A is a function because the input contains one output. B is NOT a function since 5 contains 2 different outputs.
The outputs can be with multiple inputs, whereas the inputs cannot be with multiple outputs since they wouldn't meet the requirement during the vertical line test.