.
Let x be the Greg's average spreed.
Greg traveled 2 + 3 = 5 hours and covered 5x miles before Fred caught him.
Fred traveled 3 hours at the speed (x+18) miles per hour; hence, Fred traveled 3*x miles.
The distance each of them traveled from the start to the caught point is the same,
which gives you an equation
5x = 3*(x+18).
This is the central moment in setup.
As soon as you got it and as soon as you understood how you got it, the setup is done.
The solution is very easy:
5x = 3x + 54 ====> 5x - 3x = 54 ====> 2x = 54 ====x = 54/2 = 27.
Answer. The Greg's average speed was 27 miles per hour.
Solved.
------------------
There are introductory lessons on Travel and Distance problems
- Travel and Distance problems
- Travel and Distance problems for two bodies moving in opposite directions
- Travel and Distance problems for two bodies moving in the same direction (catching up)
in this site.
They are written specially for you.
You will find the solutions of many similar problems there.
Read them and learn once and for all from these lessons on how to solve simple Travel and Distance problems.
Become an expert in this area.