27 miles = $4.04 of gas
[tex] \frac{27}{2,727} = \frac{4.04}{x} [/tex]
Cross multiply
[tex]27x = 11017.08[/tex]
Divide 27 from both sides
[tex] \frac{27x}{27} = \frac{11017.08}{27} [/tex]
[tex]408.04[/tex]
The gas would cost $408.04 to travel 2,727 typical miles