How to calculate with a table if we charge client per km of delivery?