A firm manufactures two types of products, A and B, and sells that at a profit of $3 on type A and $4 on type B. Each product is processed on two machines, X and Y. Type A requires 1 minute of processing time on X and 3 minutes on Y. Type B requires 1 minute on X and 2 minutes on Y. Machine X is available for not more than 6 hours and 40 minutes, while machine Y is available for 10 hours only during working day. The firm wishes to maximize profit and asked you to compute the amount of Product A and B that should be manufactured.