To represent the problem with a system of equations, we can define the variables as follows:
- Let
be the price of a cookie. - Let
be the price of a brownie.
Now we can set up the equations based on the information given in the problem:
-
Betty's Purchase: Betty bought 6 cookies and 5 brownies for a total of $38. This can be represented by the equation:
-
Duncan's Purchase: Duncan bought 2 cookies and 3 brownies for a total of $18. This can be represented by the equation:
So, the system of equations is: