How do you write the quadratic in vertex form given #y=1/2(x-3)^2+8#?