to roll with the punches

Meaning 1
a boxer absorbs punches while waiting for an opportunity to strike back
Sentence 1
The boxer rolled with the punches hoping to find an opening against his opponent.
Meaning 2
getting one's bearing in a difficult situation; figuring out what to do after a few set backs
Sentence 2
"We can't wait any longer, John will have to roll with the punches; we have no one to teach him."