is the distance squared from the point (-1,0) to (x,y)

So the question is asking the square of the minimum distance from (-1,0) to any point on the line .

i.e. the square of the distance from the point (-1, 0) to the line

you should get the distance to be ,

and minimum