Typically three of the wires control the throttle (Black = throttle negative, Red = throttle positive 5v, Green = signal return.)
The other two wires go to things like off/on switch or on signal to controller. Depends on your controller.
Can you show us some pictures so we can see the colors? Make sure the pictures are in focus.
Also what controller do you have?
Favorite Quotes:
"This is L.A., sugar. There is no 'over the top." Chris Erskine
"At a certain point the entropy wins." Maria Helena Braga
Current Build: ProFlex 757 Expert full suspension. Yescomusa 36v 800w Rear DD, upgraded 10AWG solid core through axle phase wires. 15ah Headway, 1000+ cycles, 80% DOD 30A Tronsung controller.
Past: Trek 4500 Yescomusa 36v 800w front DD.
Liahona, Yescomusa 36v 800w generic front DD.
1992 Trek 800, Yescomusa 800w 36v front DD.