Textbooks don't teach people how to avoid paying any income tax. But that's what an army of tax lawyers and corporate tax accountants do.