Deductions & credits

I edited the answer.