Answer:
Marigold Company
Cost of goods sold = $9,119
Ending inventory = $7,461
Explanation:
a) Data and Calculations:
                             Units    Unit Cost    Total Cost 
April 1 inventory    250         $14            $ 3,500 
April 15 purchase  420           17                 7,140 
April 23 purchase 330           18                5,940 
Total                    1,000                           $16,580 
Weighted-average costs   $16.58
Sales                     550
Cost of goods sold = 550 * $16.58 = $9,119
Ending inventory = 450 * $16.58 = $7,461
b) The first computation is for the total cost of goods available, which is then divided by the total units available for sale.  This gives the weighted-average cost per unit.  This unit cost is then multiplied with the units of ending inventory and sales to obtain the cost of the ending inventory and the cost of goods sold, respectively.