Troubled Debt Restructuring Gain

Why is the answer to the below question C ($50,000)? The solution just says "In computing gain or loss, assets conveyed in a troubled debt restructuring should be valued at their fair value" and I 100% get that. But what about the difference between the carrying value(75,000) and the fair value(100,000) of $25,000? Shouldn't there be a "loss on disposal" element to this too that would make the gain in the income statement $75,000?? Ace Corp. entered into a troubled debt restructuring agreement with National Bank. National agreed to accept land with a carrying amount of $75,000 and a fair value of $100,000 in payment and cancellation of a note (from Ace) with a carrying amount of $150,000. Disregarding income taxes, what amount should Ace report as a gain in its income statement? A. $0 B. $25,000 C. $50,000 D. $75,000