In a factoring problem by hand, the common steps to solve would be the "AM" method, or (Add-Multiply). Simply stated, finding what adds to the x-coeficient and what multiplies to the constant. In this case, what adds to 39(x) and what multiplies to 8. Just reading that, we can see that there aren't any numbers that can do that, so we have to improvise. Set up the problem equal to something that it can factor into:
<em>Multiply the 5 and -8</em> = -40: <em>this is what we will factor</em>
<em>The factors with add to 39 are 40 and -1</em>.