Rewrite as .

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

Add and .

Apply the distributive property.

Multiply by .

Subtract from .

Factor.

Add and .

Remove unnecessary parentheses.

Factor out negative.

Remove unnecessary parentheses.

Factor 25-(z+5)^2