Hi there, I have the math question that I have is giving me some problem.

It said if $\displaystyle f(x)\equiv ax^2 + bx +c$ leaves remainders 1, 25, 1 on division by$\displaystyle x-1$, $\displaystyle x+1$, $\displaystyle x-2$ respectively, show that $\displaystyle f(x) $is a prfect square.

can some one please help me with this problem?