Retirement tax questions

Yeah box 7 for me I think comes down to either code 1 or 2.  Code 2 is a lot better than code 1.  Im hoping for code 2 -- no 10% penality.