Lucid dreams, this is the solution:
Let d to represent the number of dinning chairs
Let r to represent the number of rocking chairs
I. d + r ≤ 30
II. Profit = 60d + 90r
III. d + 2r ≤ 40 hours
d + r ≤ 30 (Multiplying by -1)
d + 2r ≤ 40
__________
- d - r ≤- 30
d -+ 2r ≤ 40
__________
r ≤ 10
Replacing on the first inequality:
d + 10 ≤ 30
d ≤ 30 - 10
d ≤ 20
Profit = 60 * 20 + 90 * 10
Profit = 1,200 + 900
Profit = 2,100
For maximing his profit, the carpenter should make 20 dinning chairs and 10 rocking chairs. His profit would be $ 2,100.