Determining probabilities using tree diagrams and tables