A flagstaff is placed on top of a building. The flagstaff and building subtend equal angles at a point on level ground which is 200 m away from the foot of the building. If the height of the flagstaff is 50 m and the height of the building is h, which of the following is true?