a quadratic function has a vertex point of (3,1) and passes through the point (6,-8).Which equation represents the quadratic equation?

A y=- x^2 + 6x-8
B y=x^2 - 6x +10
C y=- x^2 - 6x-8
D y=- x^2 + 6x -10