Answer
$(p+8)(p-5)$
Work Step by Step
List the pairs of numbers whose product is 40.
1,40
2,20
4,10
5,8
Determine which pair has a difference of 3. Since 3 is the coefficient of p and the third term is subtracted, the expressions of the binomial will be one addition and one subtraction.
$8-5=3$
$p^2+3p-40=(p+8)(p-5)$