Let price of first cabinet be a
We know that the price of one type of cabinet is four times the price of the other
⇒ Price of other cabinet = 4a
Total price of one cabinet each of the 2 types = 4,150
⇒ Total price of one cabinet each of the 2 types = Price of first cabinet + Price of other cabinet
⇒ 4,150 = a + 4a
⇒ 4,150 = 5a
⇒ a = 830
So the first cabinet costs 830, and the other cabinet costs 4×830 = 3,320