Response to the following problem:
Richard exchanges a building with a FMV of $75,000, a basis of $35,000, and subject to a liability of $25,000 for land with a FMV of $50,000 owned by Bill. What is the amount of Richard's realized gain?
Show all work and calculations.