I have no idea how to do this please someone teach me

Answer:
(x-8) Explanation below.
Step-by-step explanation:
(Search up some formulas for factoring, they can help)
Don't worry, factoring will get easier the more you practice.
So we know that (x+3) * something = x^2 - 5x -24
Here's what you do.
Factoring this, a trinomial.
Your factored answer will look something like this. (x+something)(x-something)
1. Look at the first term. It is x^2. So start out like this.
(x+3)(x-something)
2. Here's the trickier part. That something variable needs to fulfill two things.
A. 3*something must equal -24 as shown in the equation.
B. 3+something must equal -5 for the middle part of the equation.
Hm, looks like 8 seems like a good answer.
So your answer will factor into
(x+3)(x-8)
If you want more explanation on distribution, just leave a comment.