| Adjusted basis of A's former truck | $2,500 |
| Less: Amount of money received | 200 |
| Difference | 2,300 |
| Plus: Amount of gain recognized | 100 |
| Basis of truck acquired by A | 2,400 |
| Adjusted basis of real estate transferred | $10,000 |
| Adjusted basis of stock transferred | 4,000 |
| 14,000 | |
| Less: Loss recognized on transfer of stock | 2,000 |
| Basis of real estate acquired upon the exchange | 12,000 |