
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given vectors $\overrightarrow{a}=(\cos x,\sin x)$, $\overrightarrow{b}=(-\cos x,\cos x)$, $\overrightarrow{c}=(-1,0)$.
(I) If $x= \frac {\pi}{6}$, find the angle between vectors $\overrightarrow{a}$ and $\overrightarrow{c}$.
(II) When $x\in[ \frac {\pi}{2}, \frac {9\pi}{8}]$, find the maximum value of the function $f(x)=2 \overrightarrow{a}\cdot \overrightarrow{b}+1$.

Present the answer in LaTex format: \boxed{Your answer}
user