Original: Located beside the river Rhine, Speyer is 25 km south of Ludwigshafen and Mannheim.
Simplified: It lies 25 k south of Ludwigshafen and Mannheim.