9.8 The commission consists of a chairman, his deputy, and five other people. In how many ways can the commission members distribute among themselves the duties of chairman and deputy?
9.8 When choosing a chairman and his deputy from the given seven people, it matters not only how these two people are chosen from the seven candidates, but also how their positions are distributed between them (i.e., both the composition and the order of the selected elements matter).

This means we are dealing with permutations (without repetition) of seven elements taken two at a time. Using formula (9.1), we find $A_{7}^{2}=7 \cdot 6=42$.

Answer: 42 ways.