In the following diagram:![similar triangles](https://i.stack.imgur.com/cUnX9.jpg)

How does one conclude that the longer leg of the blackened triangle has length $Ld\theta$? I get the rest of the diagram and the similar triangles, but I do not see how the length of that leg is $Ld\theta$. 

Thanks in advance!