By using Rolle’s theorem, prove that if $p(x)$ is a polynomial with real coefficients then the equation
$0 = (x^2−x)^2p'''(x)+6x(2x^2−3x+1)p''(x)+6(6x^2−6x+1)p'(x)+12x(2x−1)p(x)$
has a solution in $(0,1)$.
So I tried to find a function which differentiates to the expression above and satisfies the conditions of Rolle's theorem in the interval $[0,1]$, but I got to
$(x^2−x)^2p''(x)+4x(2x^2−3x+1)p'(x)+2(6x^2−6x+1)p(x)$
which doesn't quite differentiate to the correct function. Even if the coefficient of $p(x)$ should have been $12(2x-1)$, the above doesn't have the same value at $0$ and $1$, so I don't think you could apply Rolle's.
Any suggestions, am I making a mistake, or is the mistake in the question?