As here they are talking about choosing n elementsout of 2n elements. so they can choose 1 element out of 2n or 2 elements out of 2n.....................2n elements out of 2n.
so total no of cases 2nc1 + 2nc2 + 2nc3+.............+2nc2n= 2^(2n)= 4^n
ways of getting n heads out of 2n tries = 2nCn
probability of getting exactly n heads and n tails = (1/2n)(1/2n)
number of ways = 2nCn/4n