Cost Basis

A long-haul trucker (owner operator) with a sole proprietorship (files a Schedule C bought a used tractor Dec 16, 2020for $202,995.  It was used 100% for business hire (never personal).  The total depreciation (reported on taxes) as of Dec 31, 2021 is $135,300.  During ownership, the only improvements were the replacement of the generator for $3500.00. On Feb 18, 2022, the tractor caught fire and was declared a total loss.  Insurance valued the tractor at $204,000.  The insurance paid off the balance owing of $187,000 and paid the trucker $17,000.  I need help figuring the cost basis of the tractor for 2022 tax return