Why f(x) and g(x) do not cut the x-axis at the same number of points?

not knowing anything about f or g, it's quite hard to say.