Answer:
Command economy
Step-by-step explanation:
John is probably a public officer employed by the government to manage the factory. As an employee, John has to follow his employer's directives, who happens to be the government.
In a command economy, the government controls and owns production activities in the country. It determines the goods to be produced, their quantities, and price. All the factors of production belong to the government.
This scenario describes a command economy where the government controls the production activities.