What happens if there are multiple parts to my basis? For example: suppose I bought some vacant vacation land three years ago. Five months ago I hired someone to build my vacation home. It's finished. After one month, I've decided I don't like it. So I sell it and make a profit. I am not in the business of building houses.
I've owned the land for several years, but the house for only a month.