Deductions & credits

I understand the desire to keep things simple except the formula is actually less complicated than your explanation.