Encoders directly to the GPIO of the Pi 4?

Some help here? What’s the right order of the wires on web config?