Solve simultaneously
Y=x-2
Y^2=x
Y=x-2
Y^2=x