Remember that
The relation is a function , if for one value of x there is only one value of y
In part 1
we have that
For x=4
y=-2 and y=2
so
For one value of x there is two values of y
that means------> it's not a function
In part 2
we have that
for one value of x there is only one value of y
so
It's a function