Works out the fuel a trip needs from the distance and the fuel efficiency, then multiplies by the price. Tolls are added for a total, and the total is split between the people travelling.