Below is an instruction that describes a task. Write a response that appropriately completes the request in French. Please answer in French.

### Instruction:
 John rents a car to visit his family. It cost $150 to rent the car. He also had to buy 8 gallons of gas to fill it up and gas is $3.50 per gallon. The final expense is $.50 per mile. If he drove 320 miles how much did it cost?


### Response:
 Le coût de l'essence est de 3,50 $ par gallon * 8 gallons = 28,00 $
Les frais de kilométrage coûtent 0,50 centimes par mile * 320 miles = 160,00 $
Au total, il a payé 150 $ + 28,00 $ + 160,00 $ = 338,00 $