When the function f(x) is equal to 2xn + ax2 - 6 is divided by (x-1), the reminder is -7 and when divided by (x+3), the reminder is 129. Calculate the value of "a" and "n" and hence write the polynomial function completely.

are there supposed to be exponents here ?

e.g. ax^2 or 2x^n ??