3 x 8 = 24
Sam worked 24 hours in total.
P.S. The second sentence is just excess information intended to throw you off.
9.5m questions
12.2m answers