Okay, home now!
So the pin layout should look like this:
o o o x o 2 4 6 x 10
o o o o o 1 3 5 7 9
On different motherboards the connection will differ. Colour coding of wire will definitely differ as well as the names, but the thing that stays the same is the layout.
There are 2 different ways of doing it but this way I used on my old AsRock G41M-VS3 mobo
2 4 6 x 10 GND X Return R O Return L
1 3 5 7 9 MIC-IN MIC-BIAS SPKout R O SPKout L
The GND either goes on 2 or 4, I know it's one of those, the rest I'm 100% sure about.
Your L and R is either SPKout or Return. Don't worry, connecting these on the incorrect pin can't damage the board.