Understanding Capital Gain Taxes And Calculating Capital Gain