for each of the following separate transactions: sold a building costing $30,000, with $20,000 of accumulated depreciation, for $8,000 cash, resulting in a $2,000 loss.acquired machinery worth $10,000 by issuing $10,000 in notes payable.issued 1,000 shares of common stock at par for $2 per share.long-term notes payable with a carrying value of $40,000 were retired for $47,000 cash, resulting in a $7,000 loss.