Answer
$(x-8)(x+3)$.
Work Step by Step
The given expression is
$=x^2-5x-24$
Rewrite the middle term $-5x$ as $3x-8x$.
$=x^2-8x+3x-24$
Group terms.
$=(x^2-8x)+(3x-24)$
Factor each term-.
$=x(x-8)+3(x-8)$
Factor out $(x-8)$.
$=(x-8)(x+3)$.