Explain how to solve the following question.

Surveying: From a point A hat is 10 meters above level ground, the angle of elevation of the top of a building is 42 degrees and the angle of depression of the base of the building is 8 degrees. Approximate the height of the building.