The first picture is a function and the second picture is not.
Step-by-step explanation:
Reason - In the first picture, there is no repeating value of x. In other words, every x value has a y value. However, in the second picture, the x value, 2 goes to 2 and -3.