Work out the cost of each trip