Using the binomial distribution for probability of making x shots: P(x) = nCx px(1-p)n-x
You can use technology to obtain the cumulative binomial distribution which yields the value of P(x≤20) for n, p
Or, you can calculate the P(x≤20) as 1-(P(21)+P(22)+...P(28)) which requires 8 calculations of the binomial distribution for x ={21,...,28}