Now, suppose gas costs $2 per gallon. Find the total distance the boys could travel.

Wehave the following:
according to the statement we have the following equation
[tex]d(p)=20\cdot(\frac{15}{p}+8)[/tex]where d is the distance and p is gas cost
replacing when p is 2
[tex]\begin{gathered} d(2)=20\cdot(\frac{15}{2}+8) \\ d(2)=310 \end{gathered}[/tex]Therefore he was able to travel a total of 310 miles