Multiply the numerator by the reciprocal of the denominator.

Factor out of .

Factor out of .

Factor out of .

Rewrite as .

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

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.

Multiply and .

Move to the left of .

Simplify (((x+3)^2)/(x-3))/((x^2-9)/(3x-9))