The volume of gasoline in the tank as a function of time can be determined as,
![V=2t](https://img.qammunity.org/2023/formulas/mathematics/high-school/fqogw3hcqlb7xchk38v8eesyoqlnrxkfpp.png)
The time taken to fill the tank can be determined as,
![\begin{gathered} 16=2t \\ t=8 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/ko5biz8g64dc40csonqliym841br5749qv.png)
Thus, the requried domain is,
![t\in\lbrack0,8\rbrack](https://img.qammunity.org/2023/formulas/mathematics/high-school/iifgr5yftkpkzwa8d96dwnz5q2h620curt.png)
The range of the function can be determined as,
![V\in\lbrack0,16\rbrack](https://img.qammunity.org/2023/formulas/mathematics/high-school/b4rajpd2wa50uhlmmoe0nzipuzyuzh07f2.png)
Thus, the above expressions gives the required domain and range of the function.