Rewrite as .

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify each term.

Multiply .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Rewrite as .

Use to rewrite as .

Apply the power rule and multiply exponents, .

Combine and .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Simplify.

Move to the left of .

Multiply by .

Subtract from .

Simplify ( square root of x-5)^2