You must use the AGI from the original return ... if you do not have a copy of the first return filed then look at the 1040X line 1 column A.