Cost of purchases

when it says "tell us the cost of your goods" are they asking what it cost me to make each product that I have in my entire inventory for the whole year or just the cost of goods for the products that sold?  Isn't this question already asked when it asks what the value of your inventory is at the beginning and end of the year? I'm really confused by this.