Complex sentence: Claire infiltrates the prison to save Jamie, but when Randall catches her in the attempt, Jamie agrees to submit to rape by Randall in exchange for her freedom.
Split into simpler sentences: Claire infiltrates the prison to save Jamie, but when Randall catches her in the attempt. Jamie (to save Claire) agrees to submit to rape by Randall in exchange for her freedom.