Connector 524 female has 8 pin slots. As you look at it UNCONNECTED from the front, with locking tab at top, the top row slots are RIGHT TO LEFT, #1 thru #4. Bottom row RIGHT TO LEFT are #5 thru #8.
slots #3 is YE/BK (window up) and #4 YE/GN is window down. #8 is ground,which the motor base might be grounded and doesn't need to go to the motor.
I hope this helps. The diagrams are very hard to read.