The thing that always made sense to me was:
- Take an adjacent colour pair
- The second colour becomes the first colour of the next pair
- If a new colour isn't directly adjacent, keep going forward until you find one
So:
WUBRG
WU, UB, BR, RG, loop around to GW.
WB, BG, loop around to GU, UR...