LP demo: Resource Allocation Problem

A company produces two products: chairs and tables. They make a profit of $40 on each chair and $50 on each table. A chair requres the following resources to produce: 2 man-hours, 3 hours of machine time, and 1 unit of wood. The table requires 2 man-hours, 1 hour of machine time, and 4 units of wood. The factory has 60 man-hours, 75 machine hours, and 84 units of wood available each day. How should the resources (man-hours, machine-hours, and wood) be allocated between the two products in order to maximize the factory's profit?