How many ways can Caroline choose 2 courses of each type?