According to the diagram, AB is the building.
Let distance BC= x CD= 80 ft
So distance BD= x + 80
In triangle ABD,
anlge ACB = 45 degree
So Triangle ACB is an isosceles triangle.
So AB = BC = x
Consider triangle ABD,
tan (34) = [tex] \frac{AB}{BD} [/tex]
0.6745 = [tex] \frac{x}{x+80} [/tex]
Cross multiply
0.6745 (x + 80 ) = x
0.6745 x + 53.46 = x
53.46 = x - 0.6745x
53.46 = 0.3255 x
Now divide both side by 0.3255
x = 164.24 ft
So height of the building is 164 ft approximately