Based upon your motor schematic I believe it would be as follows-
(refer to the graphics in prior postings)
* your motor red is phase A+ (1A)
* your motor green is phase A- (1B)
* your motor yellow is phase B+ (2A)
* your motor blue is phase B- (2B)
If the motors run backwards, either reverse the order of the wires at the board connector or change it in the firmware (easier to do).
If nothing else it shouldn't harm anything if wired this way because the phases would not be cross-connected.
For future reference, here is the connection layout for the MKS boards that come with these kits-