Retirement tax questions

@DawnC 

Please provide IRS reference.

Your analysis make no sense 

If you returned 10,000 of 30,000 you have a 20,000 distribution and one third of that is

$6,667 which should be the taxable amount.