Complex sentence: Ultimately, the foster family who planned to adopt Lucy decide to return her to Sam, with an arrangement that Randy will help him raise her.
Split into simpler sentences: Ultimately, the foster family who planned to adopt Lucy and decide not to adopt her. The foster family decide to return her to Sam, with an arrangement that Randy will help him raise her.