As the two molecules of phosphoenolpyruvate are converted to two molecules of pyruvate, the high-energy phosphate groups are added to ADP producing 2 ATP by substrate-level phosphorylation.