Retirement tax questions

Code 2 is Early distribution, exception applies (under age 59½.  So you are not being assessed the 10% early distribution penalty.  The taxable amount of the distribution is entered on your tax return as ordinary income and added to your other income, taxed at your current tax rate.