Answer: Neither A or B
Step-by-step explanation: In order for a relation to be a function, a relation can not have the x-values repeat. Y-values can repeat an infinite amount of times but x-values can only repeat 1 time in a given relation. In relation A, you have (2,-2), and (2,3) and relation B, you have (9,3), and (9,-3). You can also graph both of these relations and do a vertical line test with your pencil and see that it would cross more than once.
Hope this helps.