Identify the function of the infinitive phrase. To win a marathon is my goal.
Answer: First we have to understand that the infinitive phrase includes the infinitive, plus any modifiers and complements. For this case To win is the infinitive and the infinitive phrase is a marathon is my goal. I believe that it functions as a subject. Therefore the answer is choice A).
I hope it helps, Regards.