Not sure whether my way of solving is correct. Just share with you how I solve this.
Option 1:
Let x be the distance which Mike travels so that the length is as half as that Jim travels => 2x for Jim
Mike's speed is 2 and Jim's speed is 3
=> Time for Mike to travel x distance is x/2 and time for Jim to travel 2x distance is 2x/3 (in hour)
So we have the equation:
2x/3 - x/2 = 2 (Because Jim started moving first, so at point x the duration Jim traveled must be 2 hour more than that Mike traveled.
=> x = 12
=> Duration that takes Mike to travel x is : 12/2 = 6 hour
Similarly, set y as the distance which Mike travels so that the length is one-forth of the length Jim travels => 4y for Jim
The equation now is:
4/3y - 1/2y = 2
=> y = 12/5
=> Duration that takes Jim to travel y is: 4/3 * 12/5 = 3.2 hour
The gap is |3.2 - 6| = 2.8 hour = 168 minutes (Not sure why my answer does not fit the provided answer list, but my second method also provides the same result)
Option 2:
Let t be the time that Jim starts (the first person to start)
We have 2 equations:
DJ (distance Jim traveled after t hour) = 3t
DM (distance Mike traveled after t hour) = 2(t-2) (Because Mike started 2 hour later than Jim)
So the amount of time it takes Mike to cover the half distance that Jim has covered is:
DM = 1/2 DJ
=> 2(t-2) = 3/2t
=> t = 8
Because this is the number of hour that Jim traveled so we must minus 2 to get the number of hour that Mike traveled => 6
Similarly, the amount of time it takes Jim to cover four times the distance that Mike has covered:
DM = 1/4 DJ
=> 2(t-2) = 1/4*3t
=> t = 16/5 (because the question asks the duration of Jim, now we don't need to minus to get that of Mike)
So that gap is: 16/5 - 6 = 2.8 hour = 168 minutes.
Personally, I prefer the second way to solve, it takes much less time than the first one. Hope it helps.