VMTP Purchase and Exchange Agreement Nuveen Quality Municipal Income Fund (formerly known as Nuveen Dividend Advantage Municipal Fund) and Banc of America Preferred Funding Corporation and Blue Ridge Investments, L.L.C. October 3, 2016