Let's calculate how much gas would car consume during the trip.
First, we will calculate how much it consumes per kilometer:

The total consumption for the whole trip would be:

To get the total cost of the gas we multiply the total gas consumed by its cost:

So, each passenger must pay $90.