Carlos and Sam together unpacked cartons

for 3 hours at a rate of 8 cartons per hour.
During that time, Carlos unpacked twice as
many cartons as Sam. How many cartons
did each of them unpack?

3 answers

Carlos unpacked 24 cartons and Sam unpacked 12 cartons.
Let Sam's rate be x cartons/hr
then Carlos' rate would be 2x cartons/h
combined rate = 3x cartons/hr

so in 3 hours they unpacked 3(3x) cartons
so 9x = 24
x = 8/3 cartons

Sam rate is 8/3 cartons/hr, and Carlos' rate is 16/3 cartons/hr
so Sam did (8/3)(3) or 8 cartons, and Carlos did 16/3)(3) or 16 cartons

Check: their combined rate would be (8/3 + 16/3) or 8 cartons/hr
so in 3 hours they would unpack 24 cartons

my answer is correct, the bot's answer makes no sense,
The question was, how many cartons did each unpack. Not how fast they did it.

3 hours at a rate of 8 cartons per hour = 24 cartons.
So Sam did 8 and Carlos did 16.