Tax on investments 101: 'Legally pay as little as possible t