After you file

You must use the AGI from the original filing ... it is the figure from the 1040X column A ... line 1.