2. $7k is irrelevant, but you have to record the transaction in tax return.
3. Capital loss of $15k (divide it into short term and long term parts)
4. You can deduct a certain amount of investment losses against your taxable income. You can roll over the remainder.