Click here to read the complete problem statement.
The problem is poorly phrased. They should have at least mentioned the degree of the polynomial so that candidates know that 14x^2-29x+19 is wrong.
Hint1: For those of you struggling to solve this, think about remainder theorem.
Hint2: Find the remainder expression, r(x), where P(x) = (x-1)(x-2)(x-9)(x-40)Q(x) + r(x)
My bad. The correction has been made. Thanks for your cooperation :3