Auto Depreciation

I had a vehicle in 2019 that was used for personal and business use.  I got rid of it in 2019 and trying to calculate the Basis for gain/loss.  What is this and how do I do that?  Where can i find the allowed or allowable depreciation from prior years?