Is my "most recent tax return" last year's return or this year's W-2?

Or are my "W-2" and "most recent tax return" the same thing? I need to know which last name to use (got married this year) to try to get my AGI number from the IRS so I can file together with my spouse. I'm doing something wrong because the IRS can't recognize my identity. Please help