Let's simplify this. There are 12 hands in total. We know that there were winning hands as well as losing hands, but we don't know how many for each, so, let's assign them the variables x & y. Since there were 12 hands, we can say:
x + y = 12
Also, winning a hand makes you gain money, and losing a hand makes you lose money. Our gambler started out with $110, and left with $320. So, a number of winning hands (or gaining money) - a number of losing hands (or losing money) equals a net gain of 320-110 = $210
We know that a gaining hands earns us $100, and losing a hand depletes by $10
So, we can say that 100x - 10y = 210, since this is the net gain.
Also, we know that x + y = 12
By substituting y = 12-x, we can write 100x - 10(12-x) = 210. This gives us x = 3. And therefore, y = 9
How many possible outcomes for the first five hands? Since there were only 3 winning hands in the entirety of the 12 hands, there is a possibility that there were 3 winning hands in the first 5 hands (which would mean the gambler lost the remaining 9 hands), or 2, 1 or even none at all.
If we denote a winning hand with W, and a losing hand with L
These are the following possibilities: WWWLL, WWLLL, WLLLL, LLLLL (note: we haven't accounted for the order just yet, we were just writing down the possible scenarios)
Now we account for all the possible orders:
5!/3!x2! + 5!/3!x2! + 5!/4!x1! + 5!/5! = 10 + 10 + 5 + 1 = 26, C