you should consider professional service (tax attorney or CPA). Basically you need to learn some planning.
Maybe you already know.