First, halve the second coefficient (-2) and then square it:
-2/2 = -1, (-1)^2 = 1, then add it to both sides:

Now on the left side, we can rewrite this as:

Factor out an x from the first two terms:

Factor out a -1 from the last two terms:

Now we can rewrite it as:

Which is equal to:

Square root both sides, keeping in mind that leaves us with plus or minus one on the right:


Add one to both sides in both equations to solve for our two roots:
