I'm guessing the original polynomial isn't what you have typed up but z^2 - 10z + 25
Now if you were to factor this, you get (z+5)^2 aka (z+5)(z+5)
6.5m questions
8.7m answers