Dear afibbe
Found a better picture for the same repair. See attachment.
Numbering for the pins from top left to the bottom connection are: (these are for the Right side tail light)
1. Top left = grey red, terminal 58, driving lights
2. Top right = brown - ground
3. Middle left = black green (turn signal)
4. Middle right = grey yellow = reverse light
5. Bottom left = black/red = brake light
6. Bottom right = green = Pa light, parking lights
Same story applies to the terminal connector of the left side (driver) , the one that receives double leads on the reverse light pin (grey yellow).
Only differences will be, that
1. Receives a grey/black cable
3. Receives a black/white cable for turn signals.
6. Receives a green/black stripped cable for the parking lights
Best regards
Leonardo Peterssen