Is this a function? And is it linear? And why?

Answer:
This is a function, it is not linear
Step-by-step explanation:
You know it's a function when the x values do not repeat like the image above and its not linear because the y values don't a have a pattern.