I am writing this question as a self-answer, because I suspect, although I do not know for sure, what the OP (i.e. original poster) was trying to ask in this question which is now closed (make that now deleted).
I had intended to give a long-winded response comment, in an answer box, but the question was closed (and then deleted).
Further, the question that I think that the OP was trying to ask seems worthwhile.
So I will guess what the question was, present the question below, and then provide an answer. Note that I might be misinterpreting the OP's actual intent.
The Problem:
Find a polynomial $f(y)$ in the variable $y$ that satisfies the following $3$ constraints:
- $f(1) = 12.$
- $f(2) = 6.$
- $f(3) = 18.$
Note: before I posted, I searched for duplicates, and found this question. However, that question didn't provide an explicit step-by-step solution. Therefore, I feel that this question is not precisely a duplicate.