Ok. The white one has 5 wires. from left to right.
1. Black with a blue stripe
2. Black with a yellow stripe
3. Purple with a red stripe
4. Gray with a blue stripe
5. Black
and
On the 3 pin connector, the wires are:
1. Red with a green stripe
2. Black
3. Purple with a red stripe