Journal Entry on Debt Restructure

I'm one of those people who has to see the journal entry and T-account to figure things out and this one has me at a complete loss. Ace has land with a carrying amount of $75,000 and FV of $100,000. The bank loans them $150,000 using the land as collateral. What is their gain? I know that to put the note on the books it's: Cash (assuming they got cash) $150,000 Note Payable $150,000 To increase the land to FV: Land $25,000 Gain $25,000 The answer is $50,000 so there has to be another journal entry that I am missing. What is it?