Polynomial function/Function behavior from differentiability/Fact/Proof/Exercise

Prove that a real polynomial function

of degree has at most extrema, and moreover the real numbers can be divided into at most sections, where is strictly increasing or strictly decreasing.