| Adjusted basis of property transferred | $100,000 |
| Less: Amount of money received (amount of liabilities assumed) | —25,000 |
| Basis of Corporation X stock to A | 75,000 |
| Adjusted basis of property transferred | $25,000 |
| Less: Amount of money received (amount of liabilities) | —50,000 |
| Plus: Amount of gain recognized to taxpayer | 25,000 |
| Basis of Corporation X stock to A | 0 |