This makes a right triangle with one leg = 40 ft
we need to find the hypotenuse (the part that broke off)
sin 25 = opposite / hypotenuse
= 40/hyp
hyp = 40 / (sin25) = 94.65 ft
Now you also need the remaining upright piece to add to the broken height for the total height
cos 25 = adj/hyp
cos 25 = adj / 94.65
adj = 85.78 ft
85.78 + 94.65 = 180.43 feet tall originally