Calculate a quartic monic polynomial given that $P(1)=10,P(2)=20$ and $P(3)=30$.

Define $Q(x) = P(x) - 10x$, then$$ P(1) = 10,\ P(2) = 20,\ P(3) = 30 \Longrightarrow Q(1) = Q(2) = Q(3) = 0. $$ Since $\deg Q = 4$ and $Q$ is monic, there exists $x_0 \in \mathbb{R}$ such that$$ Q(x) = (x - 1)(x - 2)(x - 3)(x - x_0). $$ Therefore,\begin{align*} &\mathrel{\phantom{=}}{} P(12) + P(-8)\\ &= Q(12) + Q(-8) + 40\\ &= 11 × 10 × 9 × (12 - x_0) + (-9) × (-10) × (-11) × (-8 - x_0) +40\\ &= 11 × 10 × 9 × (12 - x_0) + 11 × 10 × 9 × (8 + x_0) +40\\ &= 11 × 10 × 9 × ((12 - x_0) + (8 + x_0)) +40\\ &= 11 × 10 × 9 × 20 +40\\ &=19840. \end{align*}


$$P(x) = (x-1)(x-2)(x-3)(x-\alpha) + 10 x$$

$$P(12) = 990(12- \alpha) + 120 \tag1$$

$$P(-8) = -990(-8 - \alpha) - 80 \tag 2$$

Adding $(1)$ and $(2)$,
$$P(12) + P(-8) = 19840 \implies \cfrac{P(12) + P(-8)}{10} = 1984$$