This means that
1. probability of heads (success) is constant at p=0.5
2. "flipping 10 times" imply random and independent outcomes over the experiment
3. The number of trials (flip) is known.
4. Each trial is a Bernoulli experiment (one of two possible outcomes).
Under these conditions, the binomial distribution applies.
The probability of r successes in n trials is given by:
where C(n,r) is r combinations out of n objects =
and q=(1-p)
Substituting values n=10, p=0.5, r=5 or 6, we get
Probability of 5 or 6 heads is the sum of P(X=5) and P(X=6)