Going from the wiring diagram you are using, the coil pictured higher up (Grey from coil to black to box) is for cylinders 2&3
The lower pictured coil, with orange from coil to yellow to box, is for cylinders 1&4.
If my highly evolved technical writing
doesn't make sense, let me know