General Solution of Cos theta = Cos alpha