A railroad diesel engine weighs four times

A railroad diesel engine weighs four times as much as a freight car. If the diesel engine coasts at 5 km/h into a freight car that is at rest, how fast do the two coast after they couple?