Im suppose to find how high a building is [ not literally, lol ].

A flagpole 40ft stands on top of a building. The angle of elavation for the top of the pole is: 54 degrees 54' and the angle of elevation for the bottom of the pole is 47 degrees 30'. How high is the building?

I did:

tan 54 54' =40

x

x= 28.11

and then did tan 47 30' =40

x

x= 36.65

and subtract that and get a difference of 8.54.

Is that how you find the height of the building?