Investors & landlords

BillP23,

 

As you had reported, the $40K gain was treated as compensation income, taxed at ordinary tax rates.  Since you had now paid tax on the $40K gain, your new basis becomes $10K+$40K=$50K.  Thus the sale was breakeven.