They already cover 20 mi and every hour they advance 50mi, so if we call f(x) as the distance and x as the time in hours the function will be:
The mimimun value for x has to be 0 because when x = 0, f(x) is equal to 20 that is the initial position.
and fot the maximun values of x will be when f(x) = 120
and we solve for x
so the domain will be: