6 slices of pizza and 4 drinks cost $12.60 while 3 slices of pizza and 4 drinks cost $8.10. What is the cost of each?
Solve this problem the same way I showed you for your shirts and hats problem.
thank you
You're welcome.
To solve this problem, we can set up a system of equations.
Let's assume the cost of a slice of pizza is 'p' and the cost of a drink is 'd'.
From the first statement, we know that:
6p + 4d = 12.60 -- Equation 1
From the second statement, we know that:
3p + 4d = 8.10 -- Equation 2
We have two equations and two variables. We can solve this system of equations to find the values of 'p' and 'd'.
Multiplying Equation 2 by 2, we get:
6p + 8d = 16.20 -- Equation 3
Now, subtract Equation 1 from Equation 3:
(6p + 8d) - (6p + 4d) = 16.20 - 12.60
Simplifying:
4d = 3.60
Divide both sides by 4 to isolate 'd':
d = 3.60 / 4
d = 0.90
Now that we have the value of 'd', we can substitute it back into Equation 1 to find 'p':
6p + 4(0.90) = 12.60
Simplifying:
6p + 3.60 = 12.60
Subtract 3.60 from both sides:
6p = 9
Divide both sides by 6 to isolate 'p':
p = 9 / 6
p = 1.50
Therefore, a slice of pizza costs $1.50 and a drink costs $0.90.