Alloy folding pedals repair

Sorry, but I can’t follow:
Below two more pics; the last gear is mounted exactly as shown.
The letters „R“ and „L“ are oriented all in the same „four o‘clock“ position.