Retirement tax questions

I agree but bare with me as I have difficulty processing information. So we would be looking at about $3,150 upon a sale at $40K