How do firms decide the best combination of labour and capital in production planning?

Intermediate Microeconomics

How do rational individuals decide what to buy?Explain

How do individuals decide how much they are willing to pay for insurance?

How do firms decide the best combination of labour and capital in production planning?