How do you determine if the vertex of y=x^2-2x-8 is a maximum or a minimum?