Complex sentence: Brennan goes into labor a couple of weeks before she was due to, during a prison riot, in the episode "The Prisoner in the Pipe", but the hospital is half an hour away, and Booth must find somewhere to safely deliver the baby.
Split into simpler sentences: Brennan goes into labor a couple of weeks before she is due, during a prison riot, in the episode "The Prisoner in the Pipe". But, Booth and Brennan do not make it to the hospital in time, so Booth must find somewhere to safely deliver the baby.