The question is to solve
$$\cos\left(2x-\frac{\pi}{3}\right)=\cos(x)$$
I originally approached this using the addition formulae but the mark scheme showed a way by first replacing $x$ on the right with $2\pi-x$ and I understand this is due to the $\cos $ graph, however I don't understand where all the solutions came from, would really appreciate help understanding
Answers: $\frac{\pi}{3}, \frac{7\pi}{3}$ and $\frac{13\pi}{3}$.
Thanks