How do you solve the following equation 2 cos x - 1=0 in the interval [0, 2pi]?