Rewrite the equation so it equates to 0.
x2 − 5x − 14 = 0
You need the factors of −14 that will add together to make −5.
(x − 7)(x + 2) = 0
x = 7, x = −2