Given that a group of hikers walked miles along a hiking trail. Another group of hikers walked that distance with the first group before turning off onto another trail. Now we need to find about how many miles did the two groups of hikers walk with each other.