6. (10%) Determine the points of inflection and discuss the concavity of the graph of
$$f(x) = x + 2 \cos x, \quad 0 \leq x \leq 2\pi.$$
6. (10%) Determine the points of inflection and discuss the concavity of the graph of
$$f(x) = x + 2 \cos x, \quad 0 \leq x \leq 2\pi.$$