Okay! Now we should be here.
The tricky part of this problem is initializing the array with 10 values that add up to 26 miles. Assume you were to add up 3 values to make up 10 miles, the array can be initialized with the values 1, 2, and 7. Notice that the second value (2) is a small increment to the first value (1). Also notice that when you add (1 and 2), the result (3) never exceeds the target value (10). Calculating the difference between 10 and 3 produces 7 (the third value).