A sporting goods store sells backpacks made of three different materials (canvas, nylon, or leather). Each backpack comes in one of three different colors (green, black, or blue). How many different types of backpacks are there?
12
9
6
3