is x=5 a function

No. The plot (graph) is a vertical line at x=5, so y can have many different values, in fact, any value.

a function has one y value for each x value.

thanks

You're welcome! I'm glad I could help. If you have any more questions, feel free to ask.