After having a green salad and black coffee for breakfast(,) and putting on her white cap and black hoodie, Mary went to university to meet her professor.
At first, I thought I had to put a comma because these were two introductory clauses ... but maybe it's only one? Maybe there's a punctuation rule related to clauses with many "and's"?
Anyhow, grammatically speaking, should there be a comma behind breakfast? Why or why not?
Another example (I'm not sure if it's the same problem):
In those nice clothes(,) and sitting under the sunset, he looked quite charming.