Maybe it's back to school for us both!
I'd have thought the C.G.tax is payable on PROFIT-$200k in your scenario
Held for more than one year = discount 50% therefore taxed on $100k which will be added to income in the year of sale.
Regardless of whether your borrowings are outstanding or...