Domain x,  Range y,y-2

Solve for fx=x

First solve for the left branch.

x+12-2=x

x2+x-1=0

x=-12±52

Now solve for the right branch.

x=3

So our solutions are

x=3,x=-12+52,x=-12-52