Not sure which of the three wires on the motor itself (red/yellow/blue) does what.
In terms of what they connect to, the blue one connects to the black earth wire in the harness.
The yellow goes to the blue/light green.
The red goes to the red/light green.
Not sure if that helps at all, but it's all I can establish.