A streetlight that is 10 feet tall casts a 2.5-foot-long shadow. A nearby flagpole casts a 7.5-foot-long shadow. What is the height of the flagpole?