solve the pair of simultaneous equations

y=x+2
y+x^2

The second one is not an equation. Please correct