Interesting enough... No wonder it burnt your brain, here we go:

Illustration (Made om quick session in 3 mins)
We know the height of the building is 33 meters, therefore we obtain the following equation:
Set the distance from the foundation of the building to the church's foundation A.\
Apply trigonometric identity.
The angle of depression is 25 degrees, therefore:
A=tan(25°)∗33
A≈0.4663∗25
A≈11.6575
That means the distance from the church's top to the same height of the building is also A=11.6575
Applying trigonometric identites for the second time
Church height=11.6575∗sec(18°)
≈11.6575∗1.0515
=12.258=Church's Height
Q.E.D.
(Don't even ask me about how tensed I am to win over Heureka over the speed of solving this question)