From the statement, we know that the two triangles shown are similar. When two triangles are similar, it is true that their corresponding sides are in the same ratio:
So, in this case, we have:
Therefore, the flagpole measures 20 feet, and the correct answer is option B.