What is y = x^2-16x+40 written in vertex form?