You need to get out your 2016 1040 tax form. I don't what is different for 2017, but I assume not much.
The AGI is line 37 of Page 1 of the 1040. So it all depends on what you enter into lines 7 through 36. You didn't post enough information to figure it out.
RE: MAGI will most likely be higher tham AGI, because many deductions you used to figure your AGI must be added back in to figure your MAGI.
Yes, it looks a bit complicated.