Hi, I had a problem that I just had no idea how to do. I was told it was an optimization but I am still confused. The problem states :

Let S denote the set of points with the coordinates (x,y) such that 0≤x≤15 and y^2 = 150- 10x. Find the coordinates of the point(s) of S nearest to the origin. Also find the coordinates of the point(s) of S farthest from the origin. Justify your answer.

All i have gotten is y= squareroot(150-10x) and that is not much.