What metabolic pathways can glucose, lipids and triglycerides follow, either for producing energy or storing energy, and what are the intermediates in each pathway?