Retirement tax questions

So here's where I"m getting lost.

 

My 5d is more than 5e and 5d minus 5e is greater than my state refund. So what is my revised number? I couldn't download the worksheets you linked. If there's a link to those that would be great. Here's what TurboTax is asking me to fill out. Since those boxes don't exist in Form 1040 I'm not sure what to put in.

Screen Shot 2020-03-17 at 11.23.20 AM.png