Critical points cos x + 2x