How do you write the quadratic in vertex form given #y=-2x^2+6x+1#?