Given equation is x2 - 14x + 45 = 0
x2 - 9x - 5x + 45 = 0
x(x-9) - 5(x-9) = 0
(x-5)(x-9) = 0
x1 = 5
x2 = 9