Deductions & credits

Your math appears correct!