Question 25075
--------------|
-----------|
-------|
---| 40 degrees (angle of incline)
______________________Theta
---| 42 degrees (angle of depression)
-------|
----------|
-------------| 
Use tangent.
{{{Theta/tan42=18/tan40}}}
{{{theta=(18tan42)/tan40}}}
Theta = 19.3


Hence the building must be 19.3m tall.
Paul.