I need help solving this practice As I am very new to this branch of mathematics *please solve this step by step, show your work in detail. no rush at all

Given,
A car averages 27 miles per gallon.
The gas cost is $4.04 per gallon.
To find: The cost of the gas.
Solution:
We are given the ratio
[tex]1\text{ gallon : 27 miles }[/tex]Which can also be written as
[tex]\frac{1\text{ gallon}}{27\text{ miles}}[/tex]Travelling 2,727 miles at a ratio of
[tex]\frac{1\text{ gallon}}{27\text{ miles }}[/tex][tex]2,727\text{ miles}\times\frac{1\text{ gallon}}{27\text{ miles}}=101\text{ gallons}[/tex]At a cost of $ 4.04 per gallon.
This would cost
[tex]\frac{4.04}{gallon}\times101\text{ gallons=408.04}[/tex]Thus, the given option (c) is correct.