factor completely

z^2-18z+81-25x^2

(z-9)^2-(5x)^2
(z-9+5x)(z-9-5x)

am I on the right track?

correct.