Retirement tax questions

Oh, I forgot to add, the Inherited IRA is NOT from a spouse and that's where I think things are also getting confused.  It popped up a very strange question near the end after exiting the 1099-R about my basis... and I think this is related to all the wrong calculations.   Yes, the IRA "Worksheet" seems like there's a lot of wrong math there.