He started to earn a lot of money and then he decided to buy a house.
If we want to make infinitive in this sentence first we must found the verbs in it. In these two simple sentences, there are two verbs, one verb in each.
We have verbs earned and bought. Infinitive from those verbs are - to earn and to buy.