The two triangle depicted above are similar triangles because they share two common angles. The sighting angle and the right angle at the base of the tower. Because they are similar triangles their sides can be equated using proportions. If a, a+b, and c are known d can be calculated as shown below.