Filing for taxes on selling a condo that was obtained via quit claim deed and life estate

My inlaws bought a condominium in 1989. In 2005 they gave it to us with a quitclaim deed with life estate rights. My father in-law died in 2021. We sold the condo in 2024. My mother in-law was still living. What do we do for the cost basis? Where and how do we file this on turbo tax? The new owners paid cash.