2/7 is the proportion of the total miles hiked. To solve how many miles hiked we multiply the total miles by the proportion hiked.
For instance 3/10 miles hiked from 100 miles is found by multiplying 3/10 by 100
(3/10) * 100 = 30 miles hiked
use the same procedure with your numbers.