First, illustrate the given situation by drawing a right triangle. The building is one leg of the triangle, the distance from the building to Bill is the other leg. The angle of elevation is formed by the distance from Bill to the building and the hypotenuse of the triangle.
Set up two equations:
tan (50°20') = y/ (x-102)
tan (40°30') = y/ (x)
Solve for x and y. y is the height of the building.