if stacks 1 and 2 both have a 5 as the top card you can take the 5 from stack 2 and put it on top of the 5 on stack 1 and then flip the next card on stack 2.
The game is based on speed, it's not turn based, both players are getting rid of their cards at the same time, so the one that plays faster will most often win.