The volume of gasoline in the tank as a function of time can be determined as,
[tex]V=2t[/tex]The time taken to fill the tank can be determined as,
[tex]\begin{gathered} 16=2t \\ t=8 \end{gathered}[/tex]Thus, the requried domain is,
[tex]t\in\lbrack0,8\rbrack[/tex]The range of the function can be determined as,
[tex]V\in\lbrack0,16\rbrack[/tex]Thus, the above expressions gives the required domain and range of the function.