Deductions & credits

Thank you. In this example, is the amount that I need to consider for depreciation recapture (upon selling the home) is $39,139 (prior year depreciation) + $3,273 (current year depreciation)? Is that correct?