An example, if the damage is $1000, you have 40% fault. So, the 60% of the damage (=$600) will be covered by Direct Compensation Coverage; then, 40% of the damage (=$400) left for Comprehensive Coverage (A), which the "Deducatle" applies for.
The deductible (B) you are liable is that $500 (your maximum deductible) x 40% = $200. You need to pay the less of A and B. In this case, $200 < $400 -> you pay $200.
Is it complicated? Heee... Hope my understanding is correct!