How can a tree diagram help you determine the number of possible ways in which selections can be made?