Complex sentence: Soon the two learn that Loretta and Sam actually have resumed their relationship since the gang found Sam in Long Island, and while Barney is initially upset, Robin convinces him that James needs his parents back together more after all he's lost recently.
Split into simpler sentences: Soon the two learn that Loretta and Sam actually have resumed their relationship since the gang found Sam in Long Island. While Barney is initially upset, Robin convinces him that James needs his parents back together more after all he's lost recently.