Is g(x) a function?? Please if anyone could answer I’m trying to get my grades up

Answer:
Yes this is a function.
Step-by-step explanation:
You can tell this because there isnt any repeating x values. If there was ever a vertical (straight up and down) line then it isn't a funciton.