L/X = (cos (45 - theta)) / (cos (theta + alpha)) find theta