Retirement tax questions

Thank you! I do have one follow up question. When I am going through, it asks if I withdrew from my Roth IRA prior to 2020. Now, I withdrew my 2018 contribution in 2020 and left in the earnings. So do I answer 'no' here? I'm confused because if I answer 'no', on the next page, it asks me to confirm my net regular contributions prior to 2020 that remain in my Roth IRA. Do I then put 0 in this box? It didn't ask me whether I withdrew the contribution in 2020. 

 

I don't want it to look like the ineligible Roth IRA contribution remains in there because 1) I took it out and 2) I don't want to be penalized when I did remove it. 

 

Since they helped so much in my original post, I also wanted to see if @dmertz could throw in their two cents.