Got this problem in my textbook and ive been having problems with such a drawn out example, if anyone could help me out id really apreciate it

A small company makes 10-speed and 21-speed bicycles at two different factories. Factory A produces 30 of the 10-speed bicycles and 20 of the 21-speed bicycles per day, while factory B produces 12 10-speed bicycles and 14 21-speed bicycles per day. Staffing dictates that factory A should operate for no more than twice as many days as factory B. It costs 1500 per day to operate factory A and 800 per day to operate factory B. An order is received for 120 of the 10-speed bikes and 100 of the 21-speed bikes.

Let x denote the number of days of operation for factory A and y denote the number of days of operation for factory B, so that the order can be completed.

What is the total cost of operating the factories to produce the bicycles for the order?