Sugerencia
Podemos usar los siguientes conveniente geométricas hecho acerca de las gráficas de polinomios de grado $\leq 2$:
Lema de La pendiente $m$ de la secante de la línea entre los puntos de $(x_1, y_1)$ $(x_2, y_2)$ en la gráfica de una función polinómica $f(x) := a x^2 + b x + c$ grado $\leq 2$ es la pendiente de la línea tangente a la gráfica de $f$ en el punto medio del intervalo de $[x_1, x_2]$, $m = f'\left(\frac{x_1 + x_2}{2}\right)$.
La prueba , Por definición,, $$m := \frac{f(x_2) - f(x_1)}{x_2 - x_1} = \frac{(a x_2^2 + b x_2 + c) - (a x_1^2 + b x_1 + c)}{x_2 - x_1} = a (x_1 + x_2) + b,$$ but we can write this as $$2a\left(\frac{x_1 + x_2}{2}\right) + b = f'\left(\frac{x_1 + x_2}{2}\right) .$$ QED.
Este lema nos da inmediatamente $$f'\left(\tfrac{3}{2}\right) = f(2) - f(1), \qquad f'(2) = \frac{f(3) - f(1)}{2}, \qquad f'\left(\tfrac{5}{2}\right) = f(3) - f(2) .$$ Now, $f'$ is itself linear, so it satisfies the same property, and hence we can recover the second derivative of $f$ en un punto conveniente.
La informática da $$f''(2) = f'\left(\tfrac{5}{2}\right) - f'\left(\tfrac{3}{2}\right) = [f(3) - f(2)] - [f(2) - f(1)] = f(3) - 2 f(2) + f(1) .$$ We now have $f(2), f'(2), f"(2)$, which lets us recover $f(x)$ from its Taylor polynomial at $x = 2$: $$f(2) + f'(2) (x - 2) + \tfrac{1}{2} f''(2) (x - 2)^2 .$$ Substituting and simplifying gives $f(x) = x^2 + x + 1$.