We have g(x) = (f'(x))2 + g'(x)f''(x)
g(x) = d/dx (f(x).f'(x))
By the Rolle’s theorem, between any two roots of a polynomial, there is a root of its derivative.
Now, f(x).f'(x) = 0
Either f(x) = 0 or f'(x) = 0
Thus, f(x) has four zeroes at x = a, between b and c, between c and d and at e
So, f'(x) has atleast 3 zeroes.
Thus, f(x)f'(x) has atleast 7 zeroes.
Therefore, g(x) has atleast 6 zeroes.