Question 454111
How does this fit into probability?
What have you tried forever?

hint:
 arrange them in distance order and arrange the proper costs with the proper distance