Presented below are two independent situations:(a) Yount Company exchanged an old machine (cost $150,000 less $90,000 accumulated depreciation) plus $10,000 cash for a new machine. The old machine had a fair value of $54,000. Prepare the entry to record the exchange of assets by Yount Company.(b) Lawson Company trades old equipment (cost $90,000 less $54,000 accumulated depreciation) for new equipment. Lawson paid $36,000 cash in the trade. The old equipment that was traded had a fair value of $54,000. Prepare the entry to record the exchange of assets by Lawson Company. The transaction has commercial substance.