Calculating Income Tax And Capital Gain