To solve this problem it is necessary to use proportions. In this case, take x as the number of miles that you could drive on 65 gallons of gas.
It means that x is to 65 as 510 is to 20:
[tex]\begin{gathered} \frac{x}{65}=\frac{510}{20} \\ x=\frac{510}{20}\cdot65 \\ x=1657.5 \end{gathered}[/tex]It means that you could drive 1657.5 miles on 65 gallons of gas.