You are having a party for the Chiefs game. You are getting bottles of Dr. Pepper and bags of Doritos. A bottle of Dr. Pepper costs $2 and Doritos costs $3.50. Write an equation to represent the cost, C, of what you spent for P bottles of Dr. Pepper and D bags of Doritos.