Answer:
To compete is a nominal infinitive
Explanation:
In the sentence of the question, to compete is a nominal infinitive and acts as noun. Nominal infinitive phrases can be the subject of a sentence, the direct object, or the object of a preposition; and they has the form: to-infinitive