How Do I Find The Less Of Cost Goods In This Question A Year Ago The Replacement

How do i find the less of cost goods in this question.

A year​ ago, the replacement cost of ending inventory was