The total cost of the products is the price per product times the amount of products. Therefore, we get the following total cost: 4 x the amount of dates + 2.75 x the amount of pomegranates = 4d + 2.75p.
Since the total money that can be spend equals the total cost, we get the following: 4d + 2.75p = 12. The answer is C.