What are the three choices that profit-maximizing firms have to make?

Ahow much to demand, how to generate goods, and what to price outputted goods
Bhow much to supply, how to produce output, and how much of each input to demand
Chow much to demand, how to produce input, and how much of each output to demand
Dhow much to supply, how to market supplied goods, and how to advertise supplied goods