To compare the lengths of the swimming and running portions of the event, you need to convert one of them to the same unit of measurement as the other. In this case, you can convert the running distance from miles to kilometers or the swimming distance from kilometers to miles. Let's convert the running distance to kilometers because the swimming distance is already in kilometers.
1 mile is approximately equal to 1.60934 kilometers.
So, for the running portion:
5 miles * 1.60934 kilometers/mile ≈ 8.05 kilometers
The running portion is approximately 8.05 kilometers long, while the swimming portion is 6 kilometers long.
Therefore, the running portion is longer than the swimming portion.