A group of hikers walked 2 3/5 miles along a hiking trail. Another group of hikers walked 1/2 that distance with the first group before turning off onto another trail. How many miles did the two groups of hikers walk with each other?