Step 1: Let's review the information given to us to answer the question correctly:
Price of the hats at the souvenir shop = $ 8
Price of the t-shirts at the souvenir shop = $ 20
Step 2: Let's write an expression that describes the cost of Hats and t-T-shirts:
Let x to represent the amount of hats we sell at the souvernir shop, and,
Let y to represent the amount of hats we sell at the souvernir shop, therefore:
Let c to represent the fixed costs for the souvenir shop,
Let p to represent the profit for every hat we sell at the souvenir shop
Let q to represent the profit for every t-shirt we sell at the souvenir shop
Cost of Hat = 8 - p
Student will finish the problem by himself