The ATP yielding reactions of glycolysis are;
Two molecules 1, 3-diphosphoglycerate reacts with ADP in presence of enzyme phosphoglycerate kinase to form two molecules of 3-phosphoglycerate and two ATP molecules.
1, 3-diphosphoglycerate + ADP ―――→ 3-phosphoglycerate +ATP
The two molecules of phosphoenol pyruvate in presence of Pyruvate kinase get phosphorylated to produces two molecules of pyruvate and two ATP.
Phosphoenol pyruvate + ADP ―――→ Pyruvate +ATP