Deductions & credits

Solution finally worked.