Hi
Let x and (140-x)represent distance traveled by 40mph and 30mph cyclist respectively
Question states*** Note: t = D/r and is the same for both cylists
30x = 40(140-x)
70x = 5600
x = 80mi, distance traveled by 40mph cyclist. t = 80mi/40mph = 2hr
CHECKING our Answer***
2hr = 60mi/30mph