Multiply the numerator by the reciprocal of the denominator.

Multiply the numerator by the reciprocal of the denominator.

Cancel the common factor.

Rewrite the expression.

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 .

Multiply and .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Reorder factors in .

Simplify (((a+2)/(a^2+2a-3))/(a+2))/(a^2-a)