Complex sentence: Just north of the town of Selfoss it meets the Sog River where it becomes the Ölfusá as it flows into the Atlantic Ocean.
Split into simpler sentences: Just north of the town Selfoss it joins the Sog River. After that the combined river is called the Ölfusá as it flows into the Atlantic Ocean.