Let $f(x)$, denote a polynomial in one variable with real coefficients, such that $f(a)=1$ for some real number a. Does there exist a polynomial $g(x)$ with real coefficients, such that, if $p(x)=f(x) g(x),$ then $p(a)=1$ $p^{\prime}(a)=0$ and $p^{\prime \prime}(a)=0 ?$ Justify your answer.
My approach: $p(x)=f(x) g(x),$
or,$p(a)=f(a) g(a)$
or,$p(a)= 1* g(a)$
Further I am getting no clue
Any hint will be highly appreciated