Original: The River flows through Seoul and then merges with the Imjin River shortly before it flows into the Yellow Sea.
Simplified: The river flows through Seoul then shortly merges with the Imjin River shortly before it flows in to the Yellow sea.