Fuel tank capacity: 20 gallons
Average speed: 17 miles per gallon of gas
The number of miles that Danny's truck travels on g gallons of gas is given by the expression:

The domain of this function is given by:

Because the tank capacity is 20 gallons.
For the range, we evaluate the function at the bounds:
