Remove the colored shrinkwrap from the motor connectors and then reaolder the new ines on. The order doesn’t matter. Once everything is set up of the motor turns the wrong way just change two motor wires around.
It appears to be my motor, in that case 3 female 4mm connectors are included so it would be easier to desolder the connectors on the ESC and use the female ones provided.
Careful with soldering to motor wires. With some bldc motors especially the hobbyist ones we use, only some of the wire is not able to be soldered to. I made this mistake once when I cut the crappy cage style connectors from my hobbyking sk3. The bare copper wire they use is so hard to solder to, it doesn’t stick. I even tried covering it with flux and only then did it barely stick, more like dripped off the surface.
Either desolder the old ones and solder back on new connectors, or solder to the flexible silicone insulated vesc wire.