Perhaps this will help you:
https://turbotax.intuit.com/tax-tips/irs-tax-return/how-to-figure-out-adjusted-gross-income-agi/L8VU...