Rule: There is no gain or loss on the purchase and/or sale of treasury stock. Any "difference" goes to "paid-in capital," or if there is not enough paid-in capital to absorb a loss, the loss would be debited (subtracted) from "retained earnings." Choice "B" is correct. When treasury stock is sold at a price that exceeds its cost, the excess would be credited to "paid-in capital."Choice "a" is incorrect. There is no gain recognized on the sale of treasury stock sold in excess of cost.
Choice "d" is incorrect. An "excess" (gain) from the sale of treasury stock would not reduce the carrying amount of the remaining treasury stock.
Choice "c" is incorrect. Excesses (gains) from sales of treasury stock are not credited to retained earnings.