$x-\frac{x^2}{2}+\frac{x^3}{3(1+x)}<\log(1+x)
Here I can only see that the right side of second inequality i.e. $x-\frac{x^2}{2}+\frac{x^3}{3}$ comes in the expansion of $\log(1+x)$.
We have done the Lagrange's mean value theorem and intermediate value theorem, do these have anything to do with the inequality.
Kindly provide some hint.