y=x^2 - 1 and y = x^2 + x