How Taxes Are Impacted by Investments