Answer: You didn't say if they are walking towards each other or walking in the same direction away from the beginning of the trail.
if they are walking in the same direction they will never meet
because a is already 5 miles ahead and walking faster
r*t=d
rate
y=mx+b
y=rt+b
y=4t+6 first hiker
y=3t+1 second hiker
set them equal and see if there is a solution
if there is a solution it is the intersection
The solution is minus -5 which means they might have met 5 hours ago.
If they are walking towards each other
6-1=5
4t+3t=5
7t=5
t=5/7 hours they will meet after hiking 5/7 hours
Explanation: