to (so something) and to (do something)
for (something) and for (something)
in (something) and in (something)
I've learned to take risks and be adventurous.
But in more formal English, you can repeat "to":
I've learned to take risks and to be adventurous.
Do the same thing when you list two or more things that start with a preposition like "for". In normal spoken English:
It's important for us to set a positive example for our children, our peers, and the community.
In a formal speech this would become:
It's important for us to set a positive example for our children, for our peers, and for the community.