Does this page answer your questions?
IT says "Adjusted Gross Income".
So, on the 2018 return, that would be line 7
On the 2019 return, that would be line 8b.
At least that is the way that I understand it.