Answer: The tax payer’s gross income is $1500.
In this question, only the realized gain on shares is considered as income. Realized gain refers to the gain one gets by actually selling the shares held.
Here, the tax payer bought and sold 100 shares of x company at $3,000 and $4500 respectively. So his realized gain is
.
As for stock Y, we do not recognize the gain, as the taxpayer has not sold the shares even through it is worth more now than what he paid for.