Get your taxes done using TurboTax

Your 2017 AGI is not from a W-2.  It is on your 2017 tax return.

See this TurboTax support FAQ - https://ttlc.intuit.com/questions/1900840-how-do-i-find-last-year-s-agi