What text are you talking about?
The sentence having an infinitive that functions as an
adverb is ‘By late in the afternoon, we were worried to hear the reports of the
storm. ‘ Here, the verb ‘to hear’ which is an infinitive as well was described
by and adverb ‘worried’.
I would say the answer is c