https://www.irs.gov/faqs/sale-or-trade-of-business-depreciation-rentals/sales-trades-exchanges/sales-trades-exchanges