Suppose we want to choose 7 letters, without replacement, from 9 distinct letters.

(a) How many ways can this be done, if the order of the choices is relevant?

(b) How many ways can this be done, if the order of the choices is not relevant?