##### Alister Doyle, Math makes my head hurt.

That's a tough one. If you still need some help there are lots of great videos on permutations, which are arrangements where sequence matters like this one, and permutations with restrictions:

Permutations with restrictions I