Deductions & credits

I had actually looked at that thread before I posted.  But the key difference in my question is that I did not file in 2019.

 

So do I lose the entire $40,000 because I skipped filing in 2019 ? 

 

Or do I lose at most $3,000 of the carryover, and get to keep at least $37,000 for 2020 ?