Glycolysis
Net 2 ATP
2 NADH
Pyruvate to Acetyl CoA
2 NADH
Kreb's Cycle
2 ATP
6 NADH
2 FADH2
* Note that after the completion of glycolysis there are two pyruvates formed, so the Pyruvate to Acetyl CoA and Kreb's Cycle are occuring once for each pyruvate (two times). Another important point to note is that glycolysis occurs in the cytostol while the electron transport chains is located in the inner mitochondrial membrane so transporting the 2 NADH from glycolysis into the mitochondria costs 2 ATP.
In the electron transport chain, each NADH is worth 3 ATP and each FADH2 is worth 2 ATP.
The net ATP gain per glucose molecule is 36
Hope I got everything correct.