ANSWER

EXPLANATION
It was given in the question that,
"Sam knocks down 8 pins on every bowl"
This means that, Sam's bowling will move in multiples of 8. That is,

Also, "Carlos knocks down 9 pins on every bowl".
His bowling will also be in multiples of 9, which is,

Sam and Carlos will knock down the same total number of pins. The least of them is the least common multiple of 8 and 9, which is
