A furniture company produces inexpensive tables and chairs. The production process
for each is similar in that both require a certain number of hours of carpentry work and
a certain number of labor hours in the painting department. Each table takes 4 hours of
carpentry and 2 hours in the painting department. Each chair requires 3 hours of
carpentry and 1 hour in the painting department. During the current production period,
240 hours of carpentry time are available and 100 hours in painting is available. Each
table sold yields a profit of $7; each chair produced is sold for a $5 profit. Find the best
combination of tables and chairs to manufacture in order to reach the maximum profit.