Retirement tax questions

I dug through all my old statements: initial contribution in 2010. Total of all contributions from 2010-2015 was $35686. Withdrawal of $35000 in 2016. Additional withdrawal of $15800 in 2018. So I answered $686 to the question about prior contributions.