Explanation:
the second one (with the -5 as x values) is not a function, because the valid x value -5 has more than one associated different solution value y.
for a function a valid x value can lead only to exactly one result y value.
8.1m questions
10.7m answers