Think of Glycolysis as a prerequisite to the TCA cycle. In order for Glucose to generate ATP, it needs to be converted to Pyruvate via Glycolysis. Pyruvate then is converted to Acetyl-Coa, this is how 2 carbons from Glucose are entering the TCA cycle.
During TCA cycle you produce NADH and FADH2. You produce 3NADH and 1 FADH2 per one molecule of Acetyl-Coa.
NADH and FADH2 will donate their electrons to the ETC (Electron Transport chain) so that ATP synthase can make ATP.
This is how all 3 pathways are interrelated.
Hope this helps.