glycolysis probably evolved before the other stages of aerobic respiration. Life first evolved in the absence of oxygen, and glycolysis does not require oxygen. Therefore, glycolysis was probably the earliest way of making ATP from glucose.
lactase is the enzyme that leads to the hydrolisis of lactose, when lactose is present the e coli needs to hydrolyse it to simple sugars so it needs to active the gene for lactase synthesis