Quadratic function in mathematics of grade nine Given the quadratic function y = ax square + BX + C, when x = 0, y = 7. When x = 1, y = 0, when x = - 2, y = 9 Analytic expression of quadratic function of ball I want a more detailed process, thank you

Quadratic function in mathematics of grade nine Given the quadratic function y = ax square + BX + C, when x = 0, y = 7. When x = 1, y = 0, when x = - 2, y = 9 Analytic expression of quadratic function of ball I want a more detailed process, thank you

From the topic meaning C = 7
a+b+c=0
4a-2b+c=9
a=-2,b=-5,c=7
The analytic formula is y = - 2x ^ 2-5x + 7