y^2=x, y=x-2, y=0, x=1