Wolf Computer exchanged a machine with a book value of $40,000 and a fair value of $45,000 for a very similar machine. In addition, Wolf paid $6,000 as part of the exchange. Wolf should recognize: