2018 Focus ST

The 4 yellow wires with black stripes will tap into the coil pack outputs at pins 42,43, 57, and 72 on the c1381E plug (if you are unsure which one that is, check a couple pins and confirm the wires match the colors noted below). It doesn’t not matter which of the yellow wires go to which output, only that they each go to their own output.

The green wire will tap into pin 33 on the c1381E plug. 

The red wire will need 12 V+ and the black wire will need to be grounded. There are many ways to do this, including using a make-a-circuit to tap into the fuse box.