To decide how much fuel needs to be injected into each intake runner the ECU calculates the air mass that had been drawn into the cylinder.
Using the oxygen sensor 1 the injection duration is corrected so stoichiometric combustion is obtained.