Deductions & credits

It is not calculating correctly;  Please investigate further