First we have to understand what prepositions are. They are words that indicate the location. This are some examples, the floor, the movie theater, the car, and behind the school. Prepositions include words that are associated with location. These are some examples, about, after, for, but, behind, etc.
In this sentence the prepositions are To, Before, and For.
I hope it helps, Regards.