Sold property acquired by quitclaim deed & life estate in 2012. IRS states its a gift. Donor received it via quitclaim in 2006. No records of donors cost basis. how file?

Do I need the original cost basis when built? Went from Mother to Daughter by quitclaim and the daughter to Grand daughter by quitclaim & life estate. How to file?