Hey there! Hello!
For this problem, let's write out all of the amounts of each thing that was bought, like this:

This represents the 2 $9.00 items, the 2 $4.00 items, and the 2 $3.00 items, all in one problem. To figure out how much the amount spent would be total, all you have to do is add up all of the numbers:





This means that $32.00 were spent, total.
Hope this helped you out! Feel free to ask me any additional questions if you have any. I like your avatar, by the way! :-)