at the beginning of the year, freye incorporated reports inventory of $6,400. during the year, the company purchases additional inventory for $21,400. at the end of the year, the cost of inventory remaining is $8,400. calculate cost of goods sold for the year.