How do minimize cost?

Can you answer this question?