each pizza slice sells for 3.50 and each soda sells for 1.50. at the end of the night you made a total of 800$. you sold 344 pizza slices and sodas combined. you must report the number of pizza slices sold and the number of sodas sold. what equation did you use to solve this. where P= the number of pizza slices sold and S = the number of sodas sold

From the given information, we can create the following equation to solve for the number of pizza slices sold (P) and the number of sodas sold (S):

3.50P + 1.50S = 800

This equation represents the total revenue made from selling pizza slices and sodas, which must equal the total amount of $800.

To solve this problem, we can set up two equations based on the given information.

Let's use P to represent the number of pizza slices sold and S to represent the number of sodas sold.

1) The total revenue equation:
The total revenue from pizza slices (3.50 * P) added to the total revenue from sodas (1.50 * S) should equal the total amount earned, which is $800.
So, the first equation is 3.50P + 1.50S = 800.

2) The total quantity equation:
The total number of pizza slices sold (P) added to the total number of sodas sold (S) should equal the combined total of pizza slices and sodas sold (344).
So, the second equation is P + S = 344.

These two equations can then be used to solve for the values of P and S.

To solve this problem, you can set up a system of equations using the given information:

1. The total revenue from pizza slices is given by the equation:
Revenue from pizza slices = Price per pizza slice × Number of pizza slices sold
(R) = (3.50)P

2. The total revenue from sodas is given by the equation:
Revenue from sodas = Price per soda × Number of sodas sold
(R) = (1.50)S

3. The total revenue from pizza slices and sodas combined is given as $800:
Total revenue = Revenue from pizza slices + Revenue from sodas
800 = (3.50)P + (1.50)S

4. The total number of pizza slices and sodas sold is given as 344:
Total pizza slices and sodas sold = Number of pizza slices sold + Number of sodas sold
344 = P + S

You can then solve this system of equations simultaneously to find the values of P (number of pizza slices sold) and S (number of sodas sold).