So as the solution is the intersection of y=x2 and y=2−x
They intersect at x=−2,x=1
So solution are −2,1