I think that you need to supply more information about #1. Surely there are some details missing. How is the salad to be made? How many vegetables are to be used? Is it from zero to five? Same question about the cheeses and nuts.
The given answer of 1281 does not give any guidance.
It seems that you need to review this posting and correct it. Please post the whole question as given.