Complex sentence: When they successfully get to the end of the path, they must choose one of the two doors to go through at the end: one door leads to freedom while the other has a Viking behind it.
Split into simpler sentences: When they successfully get to the end of the path, they must choose one of the two doors to go through at the end. One door leads to freedom while the other has a Viking behind it.