The first question that needs to be answered when organizing an economy is B. What is to be produced?
Before everything, the producer needs to figure our what it is that he or she wants to produce, what exact type of goods they want their consumers to buy. Based on that decision, they will allocate as much resources as necessary to actually produce those goods.