Let the height of the tower be h, placing the distances from the foot of the tower to point A and point B as h cot alpha and h cot beta respectively. Because point A is due south and point B is due east of the tower, their paths form a right angle at the foot of the tower. Using the Pythagorean theorem, the square of the distance between A and B equals the sum of the squares of their distances from the tower, giving d squared equals h squared cot squared alpha plus h squared cot squared beta. Factoring out h squared yields h equals d divided by the square root of cot squared alpha plus cot squared beta, proving the statement is true.