I wish I knew a rule, but I don't. I just know that repeating 'with' more than once sounds odd to me. Ex: "I cope with adversity with determination and with prayer and with coffee."
It's probably okay grammatically but I can believe that it's good form. Maybe a teacher { SuKi } can put a finer point on it.