By writing the expression as x2−25x+55, applying the squaring rule x2−2ax+a2=(x−a)2 then gives
x2−10x+55=x2−25x+55=(x−5)2