If you don't have a copy, the best and fast way to access the 2017 AGI is to order a transcript from the IRS. Click here Get Transcriptand select "Get Transcript Online "
On the transcript, look under section "Adjustment to Income" and find the amount for Adjusted Gross Income.