solve -6 cos theta=2-2 cos theta