Deductions & credits

I am legal owner and lived in house entire time. Ex gets proceeds as has paid for multiple upgrades on property and the amount owed to him is 50K plus 5% compound interest which is close to proceed amount