Everything you need to know about capital gains tax.