(a)[2]
It is stated that $f(x)=(x-a)^2g(x)$, with $f(x)$ and $g(x)$ both polynomials. Show that $(x-a)$ is a factor of $f'(x)$.
(b)[5]
It is given that $(x-3)^2$ is a factor of $2x^3-4x^2+px+q$, where $p$ and $q$ are constants. Determine the values of $p$ and $q$.