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?
maximize [math]40x+50y[/math] such that [math]2x+2y\leq 60[/math] [math]3x+y\leq 75[/math] [math]x+2y\leq 84[/math] [math]x, y\geq 0[/math]