Complex sentence: Her roommate and good friend Dot Lamar races to tell Jerry, but by the time she reaches him, the ship has sailed.
Split into simpler sentences: Her roommate and good friend Dot Lamar races to tell Jerry what has happened. By the time she reaches him, the ship has sailed.