We can work out the length we are looking for by taking the difference a−b of the sides a and b in the triangles below.
If we take the tangent of the given angle in each triangle, we easily obtain a and b.
Hence,