Final answer:
To find the number of packages of AA and AAA batteries Dan bought, we can set up a system of equations and solve it.
Step-by-step explanation:
To solve this problem, we can use a system of equations. Let's define x as the number of packages of AA batteries and y as the number of packages of AAA batteries.
From the given information, we can set up two equations:
-
- x + y = 10 (since Dan bought 10 packages in total)
-
- 6x + 8y = 72 (since the AA batteries are sold in packages of 6 and the AAA batteries are sold in packages of 8)
We can now solve this system of equations to find the values of x and y.