Ten prairie dogs need to connect all their burrows to one another in order to be sure that they can evade their enemy, the ferret. Assume they build each tunnel so that they have direct access to each of the other burrows.
(a) How many tunnels do they need to build?
(b) How many tunnels would be needed if there had been fifty prairie dogs?