james is making a sandwich with two slices of bread chosen from rye, wheat and white, and filled with either ham or cheese, or both. if his sandwich can have one or two types of bread and the order of the ingredients doesn't matter, how many different sandwiches can james make?