A local middle school adopted a policy for school uniforms. Students can wear black pants or tan pants. They can wear a yellow shirt, a red shirt, a green shirt, or a white shirt. The tree diagram shows the possible outfit choices.
 How many different choices does a student have when choosing a pair of pants and a shirt?
 2
 4
 8
 10