Since you say you want a quadratic of the form a(x-h)^2+ k (notice the "^" for the exponent. That's clearer than just "x2".) You need to determine a, h, and k, three numbers. For that, you need three equations. The simplest thing to do is to choose three "data points" to get those equations. I recommend three widely spaced points so as not to exagerate any "anomaly" (like those two successive points with almost the same y which cannot happen in parabola). To the far left we have (0, 0), in the center, (7, 350), and on the right, (14, 80). In order that the parabola pass through those points we must have a(0- h)^2+ k= ah^2+k= 150, a(7- h)^2+ k= 350, and a(14-h)^2+ k= 80. Solve those equations for a, h, and k. Subtracting the first and third equations from the second eliminates "k" giving a(7- h)^2- ah^2= 200 and a(7-h)^2- a(14- h)^2= 270. Calculating the squares we have 49a- 14ha+ ah^2- ah^2= (49- 14h)a= 200 and 49a- 14ah+ ah^2- 196a+ 28ah- ah^2= a(14h- 147)= 270. Divide the second equation by the first to eliminate a, (14h- 147)/(49- 14h)= 270/200 and solve that equation for h.
A more "sophisticated" method would the "least squares" method which is harder but uses all of the data. With y= a(x-h)^2+ k, for each data point (xi, yi) the "error" is yi- a(xi- h)^2- k, the difference of the data value and the computed value. For example, for the first ^data point, (0, 0) the "error" is 0- a(0- h)^2- k= -ah^2- k. For (7, 350) the "error" is 350- a(7- h)^2- k. If we were to simply add those we might have a negative error cancelling a positive error that we do not want to happen. So square each and then sum. To find the smallest possible error, take the derivative of that sum of squares with respect to a, h, and k and set the derivatives equal to 0. Again that gives three equations to solve for a, h, and k.