Those two questions are together. I’m confused about the domain part mostly in the first question.

Given:
Get 18 miles per gallon of gasoline
The tank holds 15 gallons of gasoline.
Find-: Reasonable domain and range.
Sol:
If the tank is empty
Then distance = 0
IF the tank is full
Then distance is:
[tex]\begin{gathered} =18\times15 \\ =270\text{ miles} \end{gathered}[/tex]For domain
[tex](0\text{ to 15 gallons\rparen}[/tex]So, the range is:
[tex]\text{ Domain : }(0\text{ to }270\text{ miles \rparen}[/tex]