设A=x^2-x,则
(x^2-x)(x^2-x-14)+24
=A(A-14)+24
=A^2-14A+24
=(A-12)(A-2)
=(x^2-x-12)(x^2-x-2)
=(x-4)(x+3)(x-2)(x+1)