solve 3pi(1-cos x) = 2x