Complex sentence: It moved southwards from Bruges and Ostend in the direction of the Yser river, to take the line from Nieuwpoort to Ypres.
Split into simpler sentences: It moved southwards from Bruges and Ostend in the direction of the Yser river. Its mission was to take the line from Nieuwpoort to Ypres.