A flagpole 40 feet high stands on top of the Wentworth Building. From a point in front of Bailey's Drugstore, the angle of elevation for the top of the pole is 54° 54, and the angle of elevation for the bottom of the pole is 47° 30. How high is the building?