Retirement tax questions

Yes, you assumed correctly. I produce some books for $4 and some for $12. I compute the cost of books sold by multiplying the number of each sold each year by the unique cost to produce each.