x^2+x=2
first set to zero
x^2+x=2
subtract 2 from both sides
x^2+x-2=0
factor because if you have
x times y=0 then assume x and/or y=0 so
factor x^2+1x-2
to factor you find what 2 number add to 1 and multiply to get -2
the numbers are -1 and 2 so
it factors out to
(x-1)(x+2)=0
assume each is zero
x-1=0
add 1 to both sides
x=1
x+2=0
subtract 2 from both sides
x=-2
x=1 or -2