y=x^2+1, y=3-x