I'm going to give an answer based on my feelings and memories, but I hope someone will give a more informed answer.
This question is testing
Does the student know how to multiply polynomials with more than 2 terms? Many students just learn the FOIL mnemonic and are therefore confused by trinomials.
Is the student comfortable with having many letters on the page, some of which are variables and some of which are coefficients?
Does the student understand summation notation and the word "coefficient"?
Here are versions of the question which test subsets of these skills.
Just 1 Fill in the blanks:
$$(1+2x+3x^2)(4+5x+6x^2) = \underline{\hspace{0.5 in}}+\underline{\hspace{0.5 in}} x +\underline{\hspace{0.5 in}} x^2 +\underline{\hspace{0.5 in}}x^3 + \underline{\hspace{0.5 in}} x^4.$$
Just 2 Fill in the blanks:
$$(a_0+a_1 x)(b_0 + b_1 x) = \underline{\hspace{0.5 in}}+\underline{\hspace{0.5 in}} x +\underline{\hspace{0.5 in}} x^2.$$
1 and 2 Fill in the blanks:
$$(a_0+a_1 x+a_2 x^2)(b_0 + b_1 x+b_2 x^2) = \underline{\hspace{0.5 in}}+\underline{\hspace{0.5 in}} x +\underline{\hspace{0.5 in}} x^2++\underline{\hspace{0.5 in}} x^3+\underline{\hspace{0.5 in}} x^4.$$
Now the question: At what ages can excellent students do this? I would love to see an answer which addressed where these skills lie in the common core curriculum. Being lame, I am going to give my subjective impression. Also, of course, there is the question of what is "excellent". I'm going to take this to mean the top few students in a typical school.
In my uninformed opinion, an excellent middle school student at a median middle school can do the "just 1" problem. MATHCOUNTS and AMC-8 are two competitions targeting students at this level, and this feels easy by their standards. However, if you notice, their problems are written in much more concrete language than your question, so I am not sure whether an excellent middle school student can do "just 1 and 2", let alone the original question.
I'm not sure much changes at high school? The level of the lower students moves up a lot: At middle school, IIRC, a large fraction of students take algebra but the median student doesn't whereas, by high school, they almost all have. But "the top math student from an unexceptional high school" is the sort of student I see a lot of teaching at U Michigan, and lots of them are still confused by skills 2 and 3.
Perhaps naively, I think that an excellent college freshman should be able to do all of this. Certainly, the top students coming into U Michigan would have no problem, but I would like to think that, at most universities, the top freshmen have all these skills.
At any of these ages, if you change "excellent" to "typical", the typical student struggles with the "just 1" version.