Complex sentence: Remy and Augie try to use a contraption to escape, but are discovered and are about to be apprehended by demons, but a ship appears and captures them and a demon.
Split into simpler sentences: Remy and Augie try to use a contraption to escape, but are discovered and are about to be apprehended by demons. Just then, a ship appears and captures them and a demon.