How to solve this trig function $\displaystyle 2cos(3x)=1$ for all the values of x: $\displaystyle \frac{-\pi}{6}\leq{x}\leq\frac{5\pi}{6}$

can someone please demonstrate how would I solve such problems step by step? I'm still trying to get my head around these trig functions.