Add the same constant to both sides to make the left hand side a perfect square:

z210z+\displaystyle {z}^{{2}}-{10}{z}+=3+\displaystyle ={3}+