Deductions & credits

See answer below.