Equipment that cost $387,400 and has accumulated depreciation of $312,900 is exchanged for equipment with a fair value of $160,000 and $40,000 cash is received. The exchange lacked commercial substance.
A) Calculate the gain to be recognized from the exchange.