Best way to calculate discounts on overall amount

Heres one to read