The sentence in which the underlined infinitive phrase functions as a subject is the last one - to quickly move large groups of people is the purpose of public transportation.
<em>To quickly move </em>is the infinitive phrase, and it is a subject.
He used the hatchet by making a fire
C I hope it help if not I’m really really sorry
You didn’t put a picture or an actual question!! What am I supposed to match?