After you file

old land  20,000 reduced by allocated deferred gain

old building 50,000 reduced by allocated deferred gain

new land 20,000

new building 180,000