The volume of gasoline in the tank as a function of time can be determined as,
The time taken to fill the tank can be determined as,
Thus, the requried domain is,
The range of the function can be determined as,
Thus, the above expressions gives the required domain and range of the function.