Question 1127969
(1) {{{ 6a + 4b = 96 }}}
(2) {{{ a + b <= 20 }}}
------------------------
I'll use the maximum for (2)
and subtract (2) from (1)
(1) {{{ 3a + 2b = 48 }}}
(2) {{{ -2a - 2b = -40 }}}
----------------------------
{{{ a = 8 }}}
and
{{{ a + b = 20 }}}
{{{ 8 + b = 20 }}}
{{{ b = 12 }}}
---------------------------------
8 of type A and 12 of type B
---------------------------------
check:
what if there are 9 of A and 11 of B?
(1) {{{ 3a + 2b = 48 }}}
(1) {{{ 3*9 + 2*11 = 48 }}}
(1) {{{ 27 + 22 = 49 }}}
doesn't work
-----------------------------
what if there are 7 of A and 13 of B?
(1) {{{ 3*7 + 2*13 = 48 }}}
(1) {{{ 21 + 26 = 47 }}}
doesn't work
---------------------------------
What if there are 10 of A and 10 of B?
{{{ 3*10 + 2*10 = 48 }}}
{{{ 30 + 20 = 50 }}} doesn't work
----------------------------------------
Looks like my answer is correct