Someone please help me!

The vertex of the graph of a quadratic function is (3,1) and the y-intercept is (0,10). Which of the following is the equation of the function?

A) y=2x^2-12x+10
B) y= -1/2x^2+3x-11/2
C) y=x^2-6x+10
D) y=2x^2-7x+4