Answer:
<AFB
Step-by-step explanation:
Only two numbers less than 100 have a factor of 40: 40 (1 x 40) and 80 (2 x 40). Since 40 is a factor of both 40 and 80, 10 must also be a factor - indeed, 40 = 4 x 10 and 80 = 8 x 10.
The two number must be 40 and 80.
Answer:

Step-by-step explanation:
Let
be the number of bags with 8 onions and let
be the number of bags with 3 onions. We have the following system of equations:

Subtracting
from both sides of the first equation, we get
. Substitute this into the second equation:

Therefore, the number of 8-onion bags is:

Thus, the chef got 4 8-onion bags and 3 3-onion bags.
It is a whole number and integer.