help with functions question on math homework (file attatched)

By using the vertical line test, you can determine if anything graphed is a function.
Take a straight edge and draw vertical lines going through the line. If the vertical line touches the line more than once, it is not a function.
If you do this test correctly, you should find out that the answer is D.
You might think that A could be an answer, but don't be fooled. Option A is undefined.