How do you find all solutions of the equations cos^3x=cosxcos3x=cosx in the interval [0,2pi)[0,2π)?