How Is Investment Property Taxed When Sold