AMO can display the creative based on the AAM segment targeting. When the AAM segment is shared to AMO, it matches as many AMO users as possible from AAM segment. The number of matches is based off the ID sync.
The segment of males aged 25 would be built in AAM then shared to AMO. When you build your campaign in AMO, you can create sub-structures to target individual AAM segments.