令a=x^2+5x
原式=(a-3)(a+1)-21
=a^2-2a-3-21
=a^2-2a-24
=(a-6)(a+4)
=(x^2+5x-6)(x^2+5x+4)
=(x-1)(x+6)(x+1)(x+4)