The real numbers $a$, $b$, $c$, and $d$ are each less than or equal to $12$. The polynomial $$P(x)=ax^3+bx^2+cx+d$$ satisfies $P(2)=2$, $P(4)=4$ and $P(6)=6$. Find the maximum possible value of $P(10)$.
What I did was first I used the given information to get $3$ equation in $a, b,c,d$. Then I obtained values of $a$, $b$, $c$ in terms of $d$. Then using these values, I found $P(10)$ in terms of $d$ and substituted $d=12$. But I couldn't arrive at the answer.
Thanks in advance