General Solution of cos theta = cos alpha