solve the equation:

x^2+5x-14=0

it factors into

(x+7)(x-2) = 0 , so

x = -7 or x = 2