Respuesta :

Infinitive in English is formed using the infinitive marker to and a verb of your choice. So, here, the infinitive is to succeed.
It is used as the adverb in the sentence, because it modifies the verb hopes.