Let $f'(x)$ and $g'(x)$ satisfy the hypothesis of mean value theorem, then prove that
$$\frac{f(b)-f(a)-(b-a)f'(a)}{g(b)-g(a)-(b-a)g'(a)}=\frac{f''(c)}{g''(c)}$$
where $g''(c)\neq 0$. I have tried various things like Cauchy MVT with $f'(x)$ and $g'(x)$, substituting $h(x)=\dfrac{1}{g'(x)}$ ,$h(x)=f'(x)+\dfrac{a}{g'(x)}$ where $a\in\mathbb{R}$, but it didn't lead anywhere. Any help will be appreciated. Please note that I am allowed to use only Cauchy's MVT, LMVT and Rolle's theorem.