Does anyone know what graph is correct?

First graph is the correct one.
when x= 1
y=f(x) = -√1 = -1
when x= 2
y= -√2