Deductions & credits

@TurboTaxAshby  your solution answers the question by way of algebra.