By counting principle, we have orders 4,5,6,7 which has four options to choose from, and a fruit, apple, orange or pear, which has three options to choose from.
Multiply the number of options for sandwiches and fruits and we get
Therefore, there are 12 number of lunch combinations.