Rewrite the division as a fraction.

Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .

Write the factored form using these integers.

Cancel the common factor.

Divide by .

Simplify (x^2-2x-35)÷(x+5)