A school organized a bake sale and created a bar graph to display the number of baked goods sold in four different categories: cookies, cupcakes, brownies, and pies.
The bar graph shows the following sales:
Based on this information, if each item was sold for $2, what was the total revenue generated from the sales?