Can you tell me if the AGI on the W-2 is the wages, tips, and other comp?

If I have two W-2 do I add both together to get the AGI?