Hello,

When you're here, why don't you multiply both sides by f'(x) ? (if I'm correct, it's not important whether f'(x)=0 or not).

h'' and g'' are different from 0,positiveand finite at , according to what you've written.

So :

But we know that .

Thus