Сократите дробь z^2-10z+25/5-z
( z² - 10z + 25 ) / ( 5 - z ) = ( z - 5 )² / ( 5 - z ) = - ( z - 5 ) = 5 - z