For part (i) you probably would've lost a mark for leaving the x there, as a_2 is unambiguously the coefficient, not the term.
For part (ii), I'm not sure how you would've still had x's in there unless you had something like x^0, in which case that is still okay.