P==Pears, L==Lemons
[18 + P] / [42 - L] ==3 /4,
[36 - P] / [50 + L] ==1/2, solve for A, B
L==10, P==6
Box F ==18 + 6=24 pears
==42 - 10=32 lemons
Box G ==36 - 6 ==30 pears
==50 + 10=60 lemons.
(a) - In the end, there were ==32 Lemons in Box F
(b) - In the end, there were: 30 - 24 ==6 more Pears in Box G than Box F