Zalando Interview Question

1. Formulas of cost functions