An alternate way to work such problems is to use rate of approach when two
things are approaching each other, or rate of separation if they are separating.
Let r = the rate of the second person.
The first person drives 5 miles slower than the second person.
So the rate of the first person is r-5.
Their approach rate is the sum of their rates or r+r-5 or 2r-5 miles per hour.
If they meet in 3 hours,
Distance = Rate × Time
195 = (2r-5)×(3)
195 = 3(2r-5)
195 = 6r-15
210 = 6r
35 = r
So the faster one went r=35 mph and the slower one went r-5=30 mph.
Checking: The faster one went 35 mph for 3 hours and so went 105 miles.
The slower one went 30 mph for 3 hours and so went 90 miles. And sure
enough the total distance they covered was 105+90 = 195 miles.
Edwin