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