aren't you supposed to factor the x^2

and then you plug in to see which one works (can be both)
I have totally forgotten how to factor. I can easily do it the other way with FOIL or whatever that process is, but I don't remember how to change it into two separate sets of brackets. Some pictures of people doing this process on paper would help greatly.
Once you have the equation into:
x^2 - 6x + 5 = 0 you take the factors of 5 (which are 5, 1) and put one of each into a parenthesis like above
it works because -5 + -1 = -6, and -5 * -1 is +5
x^2 - x - 6 = 0
x(x - 6) = 0
x = 6
I don't know if that's correct, I haven't done this type of math in ages.