ASSIGN VARIABLES
w chocolate cookies
x butter cookies
y chocolate cakes
z butter cakes
p chocolate muffins
r butter muffins
SYMBOLIZE THE DESCRIPTION
Look carefully and see this is six equations in six unknown variables. You can begin solving it using the equalities of w or y; and z or r; to eliminate two variables, substitute into the system, simplify it, and have a system of FOUR equations in FOUR unknown variables.
From there, you would likely want to use row-elimination to solve the system for the four variables. You will expect whole-number values for the solution. This is undone here but for you to continue and finish.