the question usually includes 2 types of products (say) A and B then there are Direct costs and variable costs the key factor is the limited hours the we have to calculate A and B which gives highest contribution (say) B then we proceed in maximize B production and balance will then we produce A.
i need more exercises on this type of question anyone?
You would do better to post this on the general F5 forum.
For Paper F5 this type of questions usually combined with throughput accounting, or there will be more constraints in which case it will be linear programming.