From the given figure, we can separate the diagram into two right-angled triagle as shown below
The figure is divided into right-angle trainle DAEand BAD. Please note that

From triangle BAD, using trigonometry, we can solve for x

From triangle DAE, using trigonometry, we can solve for y


Hence, the height of the taller building is 49.7m