Rewrite as .

Since both terms are perfect squares, factor using the difference of squares formula, where and .

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.

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Cancel the common factor of .

Factor out of .

Cancel the common factor.

Rewrite the expression.

Cancel the common factor of .

Factor out of .

Cancel the common factor.

Rewrite the expression.

Combine and .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Multiply (x^2-25)/(x^2+8x+15)*(x^2+3x)/(x-5)