Answer:
the ride was 24 km long.
Explanation:
Let us suppose the ride was x km long.
Now, it has been given that Cyclist were 3/4 finished with their ride when they reached the 18 kilometer mark.
It means we have the equation

Multiply both sides by 4

Now, divide both sides by 3

Thus, the ride was 24 km long.