for each of the following cases determine the amount of capital gain or loss to report in each year