The distance between them is 20 meters.
Explanation:
Let origin be the starting point.
Consider first man,
He travels first 8 m and then left 6 m( consider he moves along positive x axis)
Displacement = 8i + 6 j
Consider second man,
He travels first 8 m and then left 6 m( consider he moves along negative x axis)
Displacement = -8i - 6 j
Displacement between them = 8i + 6 j - ( -8i - 6 j) = 16 i + 12 j
The distance between them is 20 meters.