How Does Long Term Capital Gains Affect Agi