Complex sentence: Max prays to God and offers to trade his own life in exchange for Pip's, then collapses and dies on the midway.
Split into simpler sentences: Max prays to God and offers to trade his own life in exchange for Pip's. He collapses and dies on the midway.