Logan bought 9 drinks and 8 candies
Step-by-step explanation:
Logan and his children went into a movie theater
We need to find the number of drinks and the number of candies that
Logan bought
Assume that the number of drinks is x and the number of candies is y
∵ The number of drinks is x and the number of candies is y
∵ He bought a total of 17 drinks and candies altogether
∴ x + y = 17 ⇒ (1)
∵ Each drink costs $4.50
∵ Each candy costs $5
∵ He bought $80.50 worth of drinks and candies
∴ 4.5x + 5y = 80.50 ⇒ (2)
Now we have system of equations let us solve them
- Multiply equation (1) by -5 to eliminate y
∵ (-5)x + (-5)y = (-5)(17)
∴ -5x - 5y = -85 ⇒ (3)
Add equations (2) and (3)
∴ -0.5x = -4.5
- Divide each side by -0.5
∴ x = 9
Substitute x by 9 in equation (1)
∵ 9 + y = 17
- Subtract 9 from both sides
∴ y = 8
Logan bought 9 drinks and 8 candies
Learn more:
You can learn more about system of equations in brainly.com/question/6075514
#LearnwithBrainly