I am stuck on the following question:
My thoughts on how to approach it:
- Find coefficient of $x$ in $(x-a)^2(x-b)^2$.
- Equate coefficient to $1-m$
- Prove that the values are equal. To prove it I thought of setting up $2$ simultaneous equations and finding $a, b, m$ - one where I write $f^\prime(a) = f^\prime(b) = m$ and other where I use $m = \frac{f(b) - f(a)}{b-a}$.
- Use values of $a, b, m$ to find $c$ and prove that $1 - c = \text{coefficient of }x^0$
Problems with this approach:
- It's a boring algebra bash that is too long and involves $4^{th}$ degree polynomials.
- It doesn't follow the order of the questions i.e. $a, b, m$ are found before we prove part (c).
- I am not sure whether it even works.
Any help on a simpler approach will be much appreciated.

Hints
$f(x)-g(x)=0$ has repeated roots at $x=a$ and $x=b$, then comparing coefficients (don't miss the $x^3$ term).
See also another post here.