2 pin R+ 5v /B= gnd.
3 pin B = gnd, R =5v , W = signal.
3 pin Y =gnd, R= 5v, G= Signal.
3 pin R = 5v, B=signal, Blk= gnd.
Test with a meter between 5v & gnd to confirm 5v is correct.
Guaranteed you will have to swap wire sequence about to match the existing bike wiring as they won't be a...